Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Security::TrustDir#cert_path
cert_path(certificate)
lib/rubygems/security/trust_dir.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/security/trust_dir.rb, line 35
def cert_path(certificate)
name_path certificate.subject
end
Returns the path to the trusted certificate