Method: Gem::Commands::CertCommand#re_sign_cert
- Defined in:
- lib/rubygems/commands/cert_command.rb
#re_sign_cert(cert, cert_path, private_key) ⇒ Object
312 313 314 315 316 317 |
# File 'lib/rubygems/commands/cert_command.rb', line 312 def re_sign_cert(cert, cert_path, private_key) Gem::Security::Signer.re_sign_cert(cert, cert_path, private_key) do |expired_cert_path, new_expired_cert_path| alert("Your certificate #{expired_cert_path} has been re-signed") alert("Your expired certificate will be located at: #{new_expired_cert_path}") end end |