updated config for ssl in sails to add intermediate certificates

parent 64a84348
Showing with 2 additions and 1 deletions
...@@ -56,7 +56,8 @@ Con el contenido para ssl: ...@@ -56,7 +56,8 @@ Con el contenido para ssl:
``` ```
ssl: { ssl: {
key: fs.readFileSync('/etc/letsencrypt/live/dev.yottacode.com/privkey.pem'), key: fs.readFileSync('/etc/letsencrypt/live/dev.yottacode.com/privkey.pem'),
cert: fs.readFileSync('/etc/letsencrypt/live/dev.yottacode.com/cert.pem') cert: fs.readFileSync('/etc/letsencrypt/live/dev.yottacode.com/fullchain.pem'),
ca: fs.readFileSync('/etc/letsencrypt/live/dev.yottacode.com/chain.pem')
}, },
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment