openssl: add instructions for using custom certs

This commit is contained in:
Jack Nagel 2014-04-24 13:25:54 -05:00
parent 57d905b531
commit 3934d3f92f

View file

@ -55,6 +55,16 @@ class Openssl < Formula
(openssldir/"cert.pem").atomic_write `security find-certificate -a -p #{keychains.join(" ")}`
end
def caveats; <<-EOS.undent
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
#{openssldir}/certs
and run
#{opt_bin}/c_rehash
EOS
end
test do
(testpath/'testfile.txt').write("This is a test file")
expected_checksum = "91b7b0b1e27bfbf7bc646946f35fa972c47c2d32"