aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-04-24 13:25:54 -0500
committerJack Nagel2014-04-24 13:29:13 -0500
commit1ffa4d9984dd569781c35455327476f7abd2cea3 (patch)
tree0cfdd828dfcc5dfc1ca41e2f3fd9929742fe2dfa /Library/Formula
parent208daceea6b3d34db94647dc44d986457e70f399 (diff)
downloadhomebrew-1ffa4d9984dd569781c35455327476f7abd2cea3.tar.bz2
openssl: add instructions for using custom certs
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openssl.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb
index 69f7797aa..2448c3163 100644
--- a/Library/Formula/openssl.rb
+++ b/Library/Formula/openssl.rb
@@ -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"