Hi everyone and thank you in advance for your help !
My domain is: geolocaliseip.com
Subdomaines (They all work):
http://cms.geolocaliseip.com
http://postfixadmin.geolocaliseip.com
http://www.geolocaliseip.com
http://webmail.geolocaliseip.com
http://phpmyadmin.geolocaliseip.com
I ran this command:
certbot --authenticator standalone --installer apache -d geolocaliseip.com -d www.geolocaliseip.com -d cms.geolocaliseip.com -d newsletter.geolocaliseip.com -d phpmyadmin.geolocaliseip.com -d postfixadmin.geolocaliseip.com -d webmail.geolocaliseip.com --pre-hook āservice apache2 stopā --post-hook āservice apache2 startā
It produced this output:
root@s1:~# certbot --authenticator standalone --installer apache -d geolocaliseip.com -d www.geolocaliseip.com -d cms.geolocaliseip.com -d newsletter.geolocaliseip.com -d phpmyadmin.geolocaliseip.com -d postfixadmin.geolocaliseip.com -d webmail.geolocaliseip.com --pre-hook āservice apache2 stopā --post-hook āservice apache2 startā
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer apache
Running pre-hook command: service apache2 stop
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for cms.geolocaliseip.com
http-01 challenge for geolocaliseip.com
http-01 challenge for newsletter.geolocaliseip.com
http-01 challenge for phpmyadmin.geolocaliseip.com
http-01 challenge for postfixadmin.geolocaliseip.com
http-01 challenge for webmail.geolocaliseip.com
http-01 challenge for www.geolocaliseip.com
Waiting for verificationā¦
Cleaning up challenges
Running post-hook command: service apache2 start
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/geolocaliseip.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/geolocaliseip.com/privkey.pem
Your cert will expire on 2019-01-16. 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ā
root@s1:~#
My web server is (include version):
root@s1:~# apache2 -v
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2018-10-03T14:41:08
The operating system my web server runs on is (include version):
root@s1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
root@s1:~# uname -a
Linux s1.geolocaliseip.com 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@s1:~# cat /proc/version
Linux version 4.15.0-36-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018
Iām using a control panel to manage my site (no, or provide the name and version of the control panel):
WEBMIN is installed, but I prefer the command line.
So you have certainly understood that the generation of virtualhost is not happening.
So yes, I think I can write them manually, but CERBOT is supposed to write them. I would like to understand what is wrong with my configuration and help improve it if necessary, because it is a tool that saves a lot of time !
root@s1:~# ls -l /etc/apache2/sites-enabled/
total 0
lrwxrwxrwx 1 root root 47 oct. 10 11:52 geolocalise-ip.com.host.conf -> ../sites-available/geolocalise-ip.com.host.conf
lrwxrwxrwx 1 root root 46 oct. 10 11:52 geolocaliseip.com.host.conf -> ../sites-available/geolocaliseip.com.host.conf
lrwxrwxrwx 1 root root 46 oct. 10 11:52 geolocalise-ip.fr.host.conf -> ../sites-available/geolocalise-ip.fr.host.conf
lrwxrwxrwx 1 root root 45 oct. 10 11:52 geolocaliseip.fr.host.conf -> ../sites-available/geolocaliseip.fr.host.conf
lrwxrwxrwx 1 root root 47 oct. 10 11:52 geolocalise-ip.net.host.conf -> ../sites-available/geolocalise-ip.net.host.conf
lrwxrwxrwx 1 root root 46 oct. 10 11:52 geolocaliseip.net.host.conf -> ../sites-available/geolocaliseip.net.host.conf
lrwxrwxrwx 1 root root 47 oct. 10 11:52 geolocation-ip.com.host.conf -> ../sites-available/geolocation-ip.com.host.conf
lrwxrwxrwx 1 root root 47 oct. 10 11:52 geolocation-ip.net.host.conf -> ../sites-available/geolocation-ip.net.host.conf
mcedit -d /etc/apache2/sites-available/geolocaliseip.com.host.conf
geolocaliseip.com.host.conf.txt (3.4 KB)
Feel free to tell me if I forgot to give you any information
Thank you in advance
Thierry MIJSOOT