bundle.pem -> fullchain.pem

This commit is contained in:
AJ ONeal 2016-04-27 16:24:17 -06:00
parent 2341c47015
commit 5848ae9161
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ var server https.createServer({
// CORRECT (should always work)
var server https.createServer({
key: fs.readFileSync('privkey.pem', 'ascii')
, cert: fs.readFileSync('bundle.pem', 'ascii') // a PEM containing the SERVER and ALL INTERMEDIATES
, cert: fs.readFileSync('fullchain.pem', 'ascii') // a PEM containing the SERVER and ALL INTERMEDIATES
});
```
@ -30,7 +30,7 @@ cat \
cert.pem \
intermediate-twice-removed.pem \
interemediate-once-removed.pem \
> bundle.pem
> fullchain.pem
```
Note that you **should not** include the `root.pem` in the bundle and that the bundle should be constructed with the least authoritative certificate first - your server's certificate, followed by the furthest removed intermediate, and then the next closest to the root, etc.