module OpenSSL::X509

def self.load_certificates(path)

An extension to load an array of certificates from a file at the given path.
def self.load_certificates(path)
	File.read(path).scan(CERTIFICATE_PATTERN).collect do |text|
		Certificate.new(text)
	end
end