the complete (I suppose) folder:
/accounts
cli.ini
/keys (10 keys .pem)
options-ssl-apache.conf
/csr (10 keys .pem)
My empty folder:
/renewal-hooks
/archive
/live
/renewal
When I reach my subdomain, I can reach my application.
Can I have back my certificate for my domain with the /csr qnd /keys folder ? What is the process ?
Or ask a new certificate for my domain? The problem is when I run this command "sudo certbot -d $DOMAIN -d $WILDCARD --manual --preferred-challenges dns certonly " , I have an error “DNS record already exist”. nevertheless, when I go to https://mxtoolbox.com/SuperTool.aspx, My DNS record is not found …
That is a delete, not a revoke - they are different things.
But neither has an easy "undo" option.
If you have a backup of the LE folder, then you may still have the private key and can use that cert.
Otherwise, you will be forced to make a new one.
The April 10 key corresponds to the date when you last issued a wildcard cert.
Perhaps that is the key for that public cert.
See: https://crt.sh/?q=*.laophenixconsulting.com
okay I see @rg305, the key dated the 10th of april is the one that used to issued my certificate … but what about the others ?
UPDATE: I tryed to install a new certificate but when I run this command:
“sudo certbot -d $DOMAIN -d $WILDCARD --manual --preferred-chalanges dns certonly”
I have this error: Certot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: argument -d/–domains/–domain: expected one argument
When I did that the frist time, I didn’t have this error. Does someone know why ?
You may need to wrap the wildcard; as it would appear as:
sudo certbot -d laoxxx.cm -d *.laoxxx.cm --manual …
and probably should be:
sudo certbot -d laoxxx.cm -d ‘*.laoxxx.cm’ --manual …
So try it with:
sudo certbot -d $DOMAIN -d ‘$WILDCARD’ --manual …
OMG
AND ALSO CHECK THE SPELLING
$WILCARD
$WILDCARD