User Tools

Site Tools


plugins:letsencrypt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
plugins:letsencrypt [2016/05/14 17:15]
theemstra Typo
plugins:letsencrypt [2017/07/03 09:45]
nuxwin
Line 1: Line 1:
-======Let'​s Encrypt Plugin Documentation======+<​markdown>​ 
 +# i-MSCP LetsEncrypt plugin 
 +</​markdown>​ 
 +<WRAP center round important 60%> 
 +**Bear in mind that this documentation is for the last available version. If you use an older version, you must refer to the README.md file inside the plugin archive.** 
 +</​WRAP>​ 
 +<​markdown>​ 
 +## Introduction
  
-This plugin allows ​the generation and regeneration of Let's Encrypt ​certificates for use in i-MSCP.+Provides free SSL certificates through ​the Let's Encrypt ​CA.
  
-This is a paid plugin, so it's not available for free like many other plugins.+## Requirements
  
-===== Requirements =====+- i-MSCP Serie ≥ 1.4.x
  
-  * i-MSCP version 1.3.x+## Installation
  
-===== Installation =====+1. Be sure that all requirements as stated in the requirements section are met 
 +2. Upload the plugin through the plugin management interface 
 +3. Edit the plugin configuration file according your needs 
 +4. Install the plugin through the plugin management interface
  
-**1. Get the latest ​plugin ​version from Plugin Store**+Note that the plugin ​installation can take up several minutes.
  
-http://​i-mscp.net/​filebase/​index.php/​Filebase/​ +## Update
-  +
-**2. Plugin upload and installation**+
  
- * Login into the panel as admin and go to the plugin ​management interface +1. Be sure that all requirements ​as stated in the requirements section are met 
- Upload the plugin ​archive +2. Backup your plugin ​configuration file if needed 
- * Install ​the plugin+3. Upload the plugin ​through ​the plugin ​management interface
  
-===== Update =====+Note that the plugin update can take up several minutes.
  
-**1. Get the plugin ​from Plugin Store**+### Restore you plugin ​configuration file if needed
  
-http://​i-mscp.net/​filebase/​index.php/​Filebase/​+1Restore your plugin configuration file (compare it with the new version first) 
 +2Update the plugin list through the plugin management interface
  
-**2. Backup your current plugin config**+## Plugin deactivation/​uninstallation
  
- # plugins/​LetsEncrypt/​config.php +When deactivating or uninstalling the plugin, the existents SSL certificate 
-  +lineages are not removedAlso, the database entries that belong to customer 
-**3Plugin upload and update**+SSL certificates are keep in place. This means that any SSL certificate 
 +already issued will still be usable by the customer.
  
- * Login into the panel as admin and go to the plugin management interface +According ​to the previous sentence, It must be noted that the current actions 
- * Upload ​the new plugin archive +for SSL certificates that are displayed in the interface, at customer and 
- * Update ​the plugin list+administrator levels, do not predict ​the action that will actually take place.
  
-===== Configuration =====+The real action to be performed will be automagically determined by the plugin 
 +at run time, by checking the state of the SSL certificate. In other words, the 
 +plugin is smart enough to not perform new SSL certificate issuance or renewal 
 +when that is not necessary.
  
-You can configure this plugin to your needs. +## Manual execution of the Certbot client
-Check out the config.php in the plugin archive.+
  
-Configuration values include:+You should avoid execute the `Certbot` client manually, or even through your 
 +own scripts, without knowing what your are doing. If you really want execute 
 +the `Certbot` client manually, you should at least reuse the email that is used 
 +by this plugin. You can find the email address in the `/​etc/​imscp/​imscp.conf` 
 +file (DEFAULT_ADMIN_ADDRESS parameter).
  
-  - Ordered List ItemCommand (and location) ​of the letsencrypt ​client +Be aware that not support will be given if following a manual invocation ​of the 
-  - Period before expirationcertificates will be renewed (default: 30 days before) +Certbot ​client, ​one or many of your SSL certificate ​lineages are in 
-  - Waiting time for retry if certificate ​status is pending (default: 1 hour) +inconsistent states.
-  - Path to created certificates +
-  - Additional command line options passed-in to letsencrypt while creating certificate +
-  - Additional command line options passed-in to letsencrypt while revoking certificate +
-  - Cronjob for renewing certificates (default: run once per day)+
  
 +## Certbot client version
 +
 +It is possible to use latest released version or development version of the
 +Certbot client by changing the value of the `certbot_version` configuration
 +parameter in the plugin configuration file. Be aware that usage of the
 +development version is discouraged in production environments.
 +
 +## Let's Encrypt registration
 +
 +The plugin automatically process your Let's Encrypt account registration,​ using
 +the administrator email address that you have provided during i-MSCP setup
 +phase. If you need change that email after while, you must not forget to run
 +the following command to update your Let's Encrypt account:
 +
 +```
 +certbot register --update-registration --email <​new_email>​
 +```
 +
 +where `<​new_email>​` is your new email address.
 +
 +If you don't do so, a new account will be created using the new email address
 +and there will be inconsistencies with SSL certificate lineages, making the
 +plugin unable to work properly.
 +
 +## Let's Encrypt Rate Limits
 +
 +Be sure to read https://​letsencrypt.org/​docs/​rate-limits
 +
 +Note that when the Let's Encrypt limits are reached, the plugin will
 +automatically set the status of the SSL certificate to `pending`.
 +The pending tasks are postponed as long as the limits are not released.
 +
 +## Let's Encrypt SSL certificates for the control panel and services (FTP, IMAP/POP and SMTP)
 +
 +To enable Let's Encrypt for the control panel and/or services you must in
 +order:
 +
 +- Enable SSL on i-MSCP side for the control panel and/or services, by choosing
 +  the `self-signed` SSL certificate option
 +- Connect as administrator to the control panel
 +- Activate Let's Encrypt for the control panel and/or services through the
 +  administrator'​s Let's Encrypt interface.
 +
 +The link for accessing the administrator'​s Let's Encrypt interface is available
 +in the `System tools` section.
 +
 +### Note for PanelRedirect plugin users
 +
 +If you use the `PanelRedirect` plugin, you must ensure that you have a version
 +greater or equal to `1.1.5`, else, the domain validations will fail.
 +
 +## SANs for alternative URLs
 +
 +You can enable support for alternative URLs by setting the `include_altnames`
 +configuration parameter to `true` in the plugin configuration file. Once done,
 +don't forget to trigger a plugin list update.
 +
 +Be aware that this parameters acts only for new SSL certificate issuances.
 +
 +### Warning regarding this feature
 +
 +Due to the current Let's Encrypt rate limits, it is not recommended to enable
 +this feature. Indeed, each SSL certificate issuance for which a SAN is added
 +for an alternative URL will possibly hits the `Certificate per Registered
 +Domain` limit (20 per week) for the control panel domain. This explain why this
 +feature is turned off by default.
 +
 +Note that alternative URLs as provided by i-MSCP are meant to allow the
 +customers to access their domains for DNS propagation time. These URLs should
 +not be exposed publicly.
 +
 +## Plugin translation
 +
 +You can translate this plugin using a gettext translation editor such as
 +`Poedit`. Translation files are located under the `./l10n` directory, inside of
 +the plugin archive. Once translated you can send us your translation file (po
 +file) for integration in future release.
 +
 +Note that if no translation file exists for your localization in the
 +`./l10n/po` directory, you must create it first from the `l10n/​LetsEncrypt.pot`
 +file. Be aware that your file must be `UTF-8`, else, it won't be accepted.
 +
 +## License
 +
 +    i-MSCP LetsEncrypt plugin
 +
 +    @author Laurent Declercq <​[email protected]>​
 +    @copyright (C) 2016-2017 Laurent Declercq <​[email protected]>​
 +    @license i-MSCP License <​https://​www.i-mscp.net/​license-agreement.html>​
 +
 +See the LICENSE file inside the archive for further details.
 +
 +## Sponsors
 +
 +The development of this plugin has been sponsored by:
 +
 + - [IP-Projects GmbH & Co. KG](https://​www.ip-projects.de/​ "​IP-Projects GmbH & Co. KG")
 +
 +</​markdown>​
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/plugins/letsencrypt.txt · Last modified: 2017/09/13 23:39 by nuxwin