Last active
June 2, 2021 08:16
-
-
Save matthiasbalke/98012e924f0ecaf059a0a04c70639928 to your computer and use it in GitHub Desktop.
Test connection using client certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using p12 store | |
curl --cert-type p12 --cert client-cert.p12:<password> --cacert cacert-containing-intermediate-and-root.txt https://hostname:1234/secure | |
# using openssl files | |
curl --cert certificate.cer --key private.key --cacert cacert-containing-intermediate-and-root.txt https://hostname:1234/secure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment