In my working environment, when installing RVM with the offical instructions:
1 | gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 |
I got error message for the “gpg” command like below:
1 | # gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 |
The reason is the firewall. I get the solution from here:
Nevermind - this is a firewall issue
One of two solutions:
- iptables -I OUTPUT -p tcp –dport 11371
- gpg –keyserver hkp://keys.gnupg.net:80 –recv-keys D39DC0E3 to force it to talk port 80