net-ssh / net-scp

Pure Ruby implementation of the SCP protocol
http://github.com/delano/net-scp
MIT License
152 stars 62 forks source link

invalid X509 certificate #41

Closed hopewise closed 1 year ago

hopewise commented 5 years ago

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
mfazekas commented 5 years ago

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