User Tools

Site Tools


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 Both sides next revision
letsencrypt [2018/09/25 14:34]
k2patel [Nginx configuration]
letsencrypt [2018/09/25 14:36]
k2patel [Apache Configuration]
Line 64: Line 64:
         RewriteCond %{HTTPS} off         RewriteCond %{HTTPS} off
         RewriteRule ^(.*)$ https://​%{HTTP_HOST}%{REQUEST_URI} [L,R=302]         RewriteRule ^(.*)$ https://​%{HTTP_HOST}%{REQUEST_URI} [L,R=302]
 +</​code>​
 +
 +
 +SSL configuration
 +<code conf ssl.conf>​
 +        SSLEngine on
 +        SSLCertificateFile ​     "/​etc/​letsencrypt/​live/​fqdn.testdomain.com/​cert.pem"​
 +        SSLCertificateKeyFile ​  "/​etc/​letsencrypt/​live/​fqdn.testdomain.com/​privkey.pem"​
 +        SSLCACertificatePath ​   "/​etc/​letsencrypt/​live/​fqdn.testdomain.com/"​
 +        SSLCertificateChainFile "/​etc/​letsencrypt/​live/​fqdn.testdomain.com/​fullchain.pem"​
 </​code>​ </​code>​
 ==== Cron setup ==== ==== Cron setup ====
letsencrypt.txt ยท Last modified: 2020/08/10 02:35 (external edit)