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. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command: I just reset my dedicated server
It produced this output: No command ran
My web server is (include version): OVH dedicated server with apache2, php7, mysql8
The operating system my web server runs on is (include version): Debian 10 Buster
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): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): No version because my server were reset
Hello, I've reset my server because I buy a new server for cross my old web server but I forgot I got ssl certificate on him. I used certbot for applied certificate.
How can I do for applied a SSL certificate on a new server ?
Also, I make too much try on my new dedicated server (another one) and I reach the limit of letsencrypt.
I can't then give me a error : Somes challenges have failed.
I'm unauthorized to do that on a new server because I doesn't revoke the old ssl certificate, I reset entire of my server. A complete reinstallation.
You need a functional HTTP web site before trying to secure it (via HTTP authentication).
Create an HTTP vhost config for "site.danstoncubemc.com" first.
One that uses a DocumentRoot that matches the --webroot used (at least for the challenge requests).
default server danstoncubemc.com (/etc/apache2/site-enabled/00-default.conf:1)
port 80 namevhost danstoncubemc.com (etc/apache2/sites-enabled/000-default.conf:1)
port 80 namevhost danstoncubemc.com (etc/apache2/sites-enabled/danstoncubemc.com.conf:1)
And I ran the command : sudo certbot certonly --webroot danstoncubemc.com /var/www/site
Sorry to give so little information, I’m starting a little bit on requests for help. Thank you for the time you take to answer me. I hope we find the solution!
I add ServerName localhost in the categorie VirtualHost, not Directory and I restart apache. I retry the certification and it doesn't work again.
The sudo apachectl -t -D DUMP_VHOSTS show this :
This vhost dump is now good
Please show the command you ran that failed.
Please also show file: /var/log/letsencrypt/letsencrypt.log
[or upload it here if it is too long]