Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
c51.lbl.gov/~walkloud
I have macOS Sierra 10.12.5
using Server 5.3.1
I have enabled userdirs for making my website - uncomment
LoadModule apple_userdir_module ${SERVER_INSTALL_PATH_PREFIX}/usr/libexec/apache2/mod_userdir_apple.so
in the file /Library/Server/Web/Config/apache2/httpd_server_app.conf
In this case, my webroot is /Users/walkloud/Sites
where I created .well-known/acme-challenge
.
Has anyone set up a certificate for such a scenario? I have failed so far. I first tried
sudo certbot certonly --webroot -w /Users/walkloud/Sites -d c51.lbl.gov/~walkloud
but got the error Invalid character in DNS name
. I then tried
sudo certbot certonly --webroot -w /Users/walkloud/Sites -d c51.lbl.gov
but get the error: Invalid response from http://c51.lbl.gov/.well-known/acme-challenge/axM1OCTjyN9k5rlIXoa303dVxQnDNDAgdQ4mS-Jd6vg:
So - clearly, I am not setting it up correctly. I know people using regular apache can also have userdir
webpages, so I am looking for help that way - but thought someone here might know as well.