In this release we started rolling out compatibility with Let’s Encrypt auto-renewal. Previously it was already possible to use Let’s Encrypt certificates on Hypernode by uploading them to the service panel, but the real beauty of Let’s Encrypt is in it’s short lived certificates which can be automatically updated.
Requesting a Let’s Encrypt certificate on Hypernode is now as easy as this:
echo 'your_hypernode_app_name.hypernode.io' > /data/web/.dehydrated/domains.txt
dehydrated -c --create-dirs
magerun sys:store:config:base-url:set # set your baseurl to secure (https)
magerun cache:clean
If you want to use a different Let’s Encrypt client you can do so as well, just place your cert.csr
, chain.pem
and fullchain.pem
files in the /data/web/certs
directory in a sub-directory with as name the domain name the certificate is for.
Example:
pwd
/data/web/certs/your_hypernode_app_name.hypernode.io
find
.
./privkey.pem
./chain.pem
./fullchain.pem
And then run:
hypernode-ssl-config-generator
More expansive documentation will be added to the support documentation soon.