Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Created September 2, 2016 13:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipedrazas/97bca02b360e7acf29f471811010e66d to your computer and use it in GitHub Desktop.
Save ipedrazas/97bca02b360e7acf29f471811010e66d to your computer and use it in GitHub Desktop.
curl apiserver with certificates osx
openssl pkcs12 -export -out certificate.pfx -inkey apiserver-key.pem -in apiserver.pem -certfile ca.pem
(set `test` as password)
curl -v -k -E ./certificate.pfx:test https://172.17.4.101:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment