class Localhost::Authority

def store

@returns [OpenSSL::X509::Store] The certificate store with the issuer certificate.

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