Creating a new certificate for same domain lead to new name

after i had a problem with the certificate of a domain, i deleted the certificate of the domain in the 3 folders (renew, live,archive) then ran the creation command again

My domain

I ran this command:./certbot-auto --webroot -w /home/path/ -d

It produced this output:

My web server is (include version):Apache 2.4

The operating system my web server runs on is (include version):Debian 8

My hosting provider, if applicable, is:

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

former certificate name was, but new one is, why can’t i create one with forme name?

Hi @refschool,

It isn’t a good idea to remove files and dirs manually, you have the command ./certbot-auto delete for these purposes.

Are you sure you removed all references to this domain?.

find /etc/letsencrypt/ -iname "*referencementschool*"

grep -ri 'referencementschool' /etc/letsencrypt/*

ls -l /etc/letsencrypt/live/*referencementschool*

./certbot-auto certificates

Keep in mind that you can use the --cert-name option to specify the name of your certificate.

Example using the command you posted and being the name of certificate:

./certbot-auto --webroot --cert-name -w /home/path/ -d


1 Like

thank you for the commands, indeed the old name is still present, but i could not see the anymore strange, everything is as normal now

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.