keystonejs / keystone-classic

Node.js CMS and web app framework
http://v4.keystonejs.com
MIT License
14.62k stars 2.21k forks source link

Update initLetsEncrypt.js #5004

Closed gelanderosh closed 1 year ago

gelanderosh commented 3 years ago

Reenable SSL since v1 of LetsEncrypt EOL is due june.

Description of changes

Changes the server to the v2 staging and production servers depending on the options set.

Related issues (if any)

Unable to generate SSL certificates when on a new server or domain.

Testing

It's been tested and found it working with these changes, only want to push it so other people using keystone can get it working again.