apt-get install git
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt ./letsencrypt-auto
--standalone-supported-challenges http-01
--webroot --webroot-path /var/www/html
replace /var/www/html with your document/web root
certonly
letsencrypt-auto certonly --standalone-supported-challenges http-01 --webroot-path /var/www/ --webroot
Apache HTTPS Directive | LetsEncrypt File | Description |
---|---|---|
SSLCertificateKeyFile | privkey.pem | Private key for the certificate. |
SSLCertificateFile | cert.pem | Server certificate only. |
SSLCertificateChainFile | chain.pem | All certificates that need to be served by the browser excluding server certificate, i.e. root and intermediate certificates only. |
– | fullchain.pem | This is what nginx needs for ssl_certificate. |
— Thad Schulz 2015/12/07 13:54