summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Roesler <diafygi@gmail.com>2015-11-05 07:36:46 -0800
committerDaniel Roesler <diafygi@gmail.com>2015-11-05 07:36:46 -0800
commit8294ed7af3c49252f1b3e8699332f7811f4e4d77 (patch)
tree5cbd550254b0e8a8d3fc71535b115bb555281aa8 /README.md
parent4e2f3a7f7704edc7a842f97defc727e94a6191c9 (diff)
fixed #8, added note about adding the intermediate letsencrypt cert to nginx config
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index b22e7ae..a4e86d1 100644
--- a/README.md
+++ b/README.md
@@ -271,12 +271,18 @@ with your private key to run an https server. You just security transfer (using
include them in the https settings in your web server's configuration. Here's an
example on how to configure an nginx server:
+```
+#NOTE: For nginx, you need to append the Let's Encrypt intermediate cert to your cert
+user@hostname:~$ wget https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
+user@hostname:~$ cat signed.crt lets-encrypt-x1-cross-signed.pem > chained.pem
+```
+
```nginx
server {
listen 443;
server_name letsencrypt.daylightpirates.org;
ssl on;
- ssl_certificate signed.crt;
+ ssl_certificate chained.pem;
ssl_certificate_key domain.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;