Browse Source

chore(README): add note about curl on OSX

Discussion about this issue here:
https://groups.google.com/forum/#!topic/munki-dev/oX2xUnoQEi4
Brandon Philips 12 years ago
parent
commit
aa4660d780
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -394,6 +394,12 @@ curl --cacert ./fixtures/ca/server-chain.pem https://127.0.0.1:4001/v2/keys/foo
 
 You should be able to see the handshake succeed.
 
+**OSX 10.9+ Users**: curl 7.30.0 on OSX 10.9+ doesn't understand certificates passed in on the command line.
+Instead you must import the dummy ca.crt directly into the keychain or add the `-k` flag to curl to ignore errors.
+If you want to test without the `-k` flag run `open ./fixtures/ca/ca.crt` and follow the prompts.
+Please remove this certificate after you are done testing!
+If you know of a workaround let us know.
+
 ```
 ...
 SSLv3, TLS handshake, Finished (20):