mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Encountered an issue while getting dehydrated to work, wrote up a tutorial #189
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @blha303 on GitHub (Jan 28, 2017).
Maybe this can go in the wiki or something once it's been tested by someone with a different setup.
As I was setting up dehydrated, somehow I missed that WELLKNOWN was supposed to be a path to .well-known/acme-challenge. I was trying to figure out where the hell it was writing the challenge files to, turns out they're strewn around my web root. Given that there's no list of commands someone in my situation (using Ubuntu Server, been generating LE certs semi-manually for a while, looking for a script that just puts the files in .well-known and doesn't try to do anything automagically with the web server) can follow, I summarised the commands I used and my web server config if you too want an A+ rank on ssllabs. I made a couple changes for the sake of being a proper tutorial, if you've already got a
<VirtualHost *:443>block you should just edit the filenames if necessary.git clone https://github.com/lukas2511/dehydratedcd dehydratedvim configvim domains.txt./dehydrated -ca2enmod sslcd /etc/apache2sudo ln -s /path/to/dehydrated/certs/example.com/fullchain.pem example.com.pemsudo ln -s /path/to/dehydrated/certs/example.com/privkey.pem example.com.keyvim sites-available/example.com.confvim ports.confsudo service apache2 reload@blha303 commented on GitHub (Jan 28, 2017):
It's not an issue really, I didn't want to make a wiki page without checking with the repo owner.