each time i set up a new letsencrypt certificat for my test vps commandline.be i run into issues despite my rave review of letsencrypt as supplied with hiawatha i now get a timeout, before it was unclear if the script would also generate the san for all virtualhostname entries in hiawatha.conf
so, i switched to using acme.sh to find it works quite well and quite easily, i just cannot figure out how to get the certificates generated to work with hiawatha
sigh
commandline.be
4 December 2018, 23:42
okay, found it, it is working
helpful resource: https://wiki.archlinux.org/index.php/Hiawatha#Enable_SSL/TLS (explains how the PEM cert is constructed)
## on Linux / BSD # download most recent acme.sh
curl https://get.acme.sh chmod a+x acme.sh
# install acme.sh into ~/.acme.sh/ ./acme.sh --install --accountemail youraddress@email.tld
## just for sakes of checking, notice th fullchain.cer is also not identical to the domain.tld.key file diff domain.tld_ecc/fullchain.cer /usr/local/etc/hiawatha/tls/domain.tld.key
commandline.be
5 December 2018, 22:47
Just to be clear, it's probably me, but i could not find the issue
acme.sh just gives a lot of control and is eventually workable and reproducible in effect
commandline.be
5 December 2018, 23:25
ignore whatever i said, i need to take time and study letsencrypt (teeths grinding)