Error: retrieving gpg key timed out

FAILED: add-apt-repository -y ppa:certbot/certbot

Error: retrieving gpg key timed out.

Ubuntu 18.04 … LE is being installed as a part of another project. How can I proceed?

I found this suggestion but not seeming to work...

This is usually caused by your firewall blocking the port 11371 . You could unblock the port in your firewall.

Maybe try this?

add-apt-repository -k hkp://keyserver.ubuntu.com:80 -y ppa:certbot/certbot

or

add-apt-repository -k hkp://pool.sks-keyservers.net:80 -y ppa:certbot/certbot
2 Likes

Hmm, not cooperating. I suspect that there may be another issue at play. I shall come back later after testing some other things. Thanks for the help _az. :slight_smile:

1 Like

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