class Localhost::Authority
def store
The certificate store which is used for validating the server certificate.
def store @store ||= OpenSSL::X509::Store.new.tap do |store| if @issuer store.add_cert(@issuer.certificate) else store.add_cert(self.certificate) end end end