Renew certificate for not deployed web server

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.

My domain is:
kreator2.ch

I ran this command:
certbot renew

It produced this output:
Certificate not yet due for renewal (mentionning kreatort.ch)

My web server is (include version):

The operating system my web server runs on is (include version):
Debian GNU/Linux 11 (bullseye)
My hosting provider, if applicable, is:
Hostinger

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):
2.6.0
Remark:
Momentarily the web server fore kreator2.ch is not running but I'd like to keep the certificate.
Is it possible ?

site itself is down so bash the hostinger

PING kreator2.ch (94.103.101.143) 56(84) bytes of data.
From 94.103.96.14 (94.103.96.14) icmp_seq=1 Destination Host Unreachable
2 Likes

Sure, why not? Certbot is handeling and storing the certificate. Services such as webservers are just using it.

3 Likes

You can use certbot in standalone mode - it will answer the challenge(s) instead of the web server:

certbot certonly --standalone --preferred-challenges http -d kreator2.ch

1 Like

What certificates does certbot have?
certbot certificates

2 Likes

Thanks. Apparently it did the job.
I just had to stop web server on the server from which I run the command and, of course, to correct the DNS's IP which was pointing to the server I do not own anymore.
Regards

2 Likes

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