Hey, I’m going to be straightup honest, I have no idea about SSL and stuff like that. So I was really happy when I noticed that there is an automation tool that makes it a lot easier. However, I did run into a problem. The first one was that certbot has a problem with my htaccess configuration which I temporarily disabled to solve this. However, the second one is a problem I REALLY can’t figure out by myself.
My domain is: realitaetsverlust.rocks
I ran this command: certbot --authenticator webroot --installer apache
It produced this output: see below
My web server is (include version): Apache/2.4.25 (Debian)
The operating system my web server runs on is (include version): Debian GNU/Linux 9 \n \l
My hosting provider, if applicable, is: Domain was registered at united domains, vserver is hosted at ip-projects
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): nope
The full logs of the procedure:
root@rikku: /var/www/html/aerith
# certbot --authenticator webroot --installer apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer apache
Which names would you like to activate HTTPS for?
-------------------------------------------------------------------------------
1: realitaetsverlust.rocks
2: blog.realitaetsverlust.rocks
3: www.blog.realitaetsverlust.rocks
-------------------------------------------------------------------------------
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for blog.realitaetsverlust.rocks
Input the webroot for blog.realitaetsverlust.rocks: (Enter 'c' to cancel): /var/www/html/aerith/
Waiting for verification...
Cleaning up challenges
Could not reverse map the HTTPS VirtualHost to the original
IMPORTANT NOTES:
- Unable to install the certificate
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/blog.realitaetsverlust.rocks/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/blog.realitaetsverlust.rocks/privkey.pem
Your cert will expire on 2018-07-23. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "certbot renew"
So, certbot said “Could not reverse map the HTTPS VirtualHost to the original” and “Unable to install certificate”, but I really don’t know what to do right now.