net-ssh/net-scp

invalid X509 certificate

hopewise opened this issue · 1 comments

I just tried to follow installation instructions, I get this error:

gem cert --add ./gem-public_cert.pem
ERROR:  While executing gem ... (OptionParser::InvalidArgument)
    invalid argument: --add ./gem-public_cert.pem: invalid X509 certificate

Have you downloaded it correctly? Does the cert starts with -----BEGIN CERTIFICATE-----?