Error: retrieving gpg key timed out

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