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.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): Apache 2
The operating system my web server runs on is (include version): Debian 9 (Strech)
My hosting provider, if applicable, is: OVH
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): Yes, OVH control panel
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.28.0
Currently trying to get SSL for both clemg.fr (which is working fine) and for ctf.clemg.fr. The problem is that with OVH, I specified for both domains an invisible redirection, which means that the browser will show the content found on the server but will not display the server’s address in the nav bar. With this given, I successfully added SSL to clemg.fr, but can’t add it to ctf.clemg.fr. According to me, it’s because the clemg.fr folder is located in /var/www/html/index.html but the ctf.clemg.fr is located in /var/www/html/ctf.clemg.fr/index.html
I understand that the code block you posted is why there is a problem, but OVH creates this to redirect to the website without seeing any change in the nav bar. Also, there is no option for me (I think) on OVH to change the way it redirects to the correct folder on my machine.
I tried to change what you told me with the other ip address that is not the one of my machine, and I successfully complete the certbot script, with this output :
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/clemg.fr/fullchain.pem