I accidentally deleted the PUBLICKEY in Debian 10 buster

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.

My domain is:
hypetime.eu
I ran this command:
I don’t know the command anymore, but I changed the Publickey to an Ubuntu Key
It produced this output:
x
My web server is (include version):
Apache2
The operating system my web server runs on is (include version):
Debian 10/Buster
My hosting provider, if applicable, is:
x
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): certbot 0.31.0

I need the Pulickey for it thank you ahead

1 Like

Hi @SteinGaming

do you have the private key? If yes, download the certificate - https://check-your-website.server-daten.de/?q=hypetime.eu#ct-logs

But use that with two domain names.

If you don't have the private key, you must create a new certificate - with both domain names. The non-www -> you have hitted the limit.

1 Like

I have an other problem. I mean the key from “apt-key” because it won’t start updating when I use “apt-get update”. The error is:

root@HypeTime:/etc/letsencrypt# apt update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Ign:4 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Hit:5 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Err:5 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Reading package lists… Done
E: The repository ‘http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY C2518248EEA14886

I replaced the key with an Ubuntu, because I used certbot for my first time.
Certbot still works, but my Debian 10 not, because I dont have the right key for the system

1 Like

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