net-ssh / net-sftp

Pure Ruby implementation of an SFTP (protocols 1-6) client.
http://net-ssh.github.io/
MIT License
286 stars 130 forks source link

certificate /CN=netssh/DC=solutious/DC=com not valid after 2021-04-26 #126

Open wteuber opened 3 years ago

wteuber commented 3 years ago

Following the documentation in README.rdoc, I ran

curl -O https://raw.githubusercontent.com/net-ssh/net-sftp/master/net-sftp-public_cert.pem
gem cert --add net-sftp-public_cert.pem
gem install net-sftp -P HighSecurity

and I got

ERROR:  While executing gem ... (Gem::Security::Exception)
    certificate /CN=netssh/DC=solutious/DC=com not valid after 2021-04-26 06:24:51 UTC

Maybe I'm doing something wrong? If so, could you please help me? If not, could you please update the certificate and/or README.rdoc? Thanks a lot.

barryhalper commented 2 years ago

Am also getting this error after re-installing on ruby 3.1.2