original-version
David 2018-08-13 18:41:07 +04:30
parent faea222f02
commit 4c3a8a5a2a
No known key found for this signature in database
GPG Key ID: D19FF700A6D04B1C
3 changed files with 6 additions and 3 deletions

View File

@ -11,9 +11,9 @@ var fs = require("fs");
var https = require("https");
var ssl_options = {
key: fs.readFileSync("./domain.key"),
cert: fs.readFileSync("./domain.crt"),
ca: fs.readFileSync("./intermediate.pem")
key: fs.readFileSync('./acme/etc/live/palmpay.io/privkey.pem'),
cert: fs.readFileSync('./acme/etc/live/palmpay.io/cert.pem'),
ca: fs.readFileSync('./acme/etc/live/palmpay.io/fullchain.pem')
};
/**

Binary file not shown.

3
generatessl Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd /root/website
greenlock certonly --webroot-path public --acme-version draft-11 --acme-url https://acme-v02.api.letsencrypt.org/dit.org/directory --agree-tos --email <EMAIL> --domains <--domains palmpay.io,palmpay.io <--- example> --community-member --config-dir ./acme/etc