Pages

Tuesday, 23 August 2016

Testing client certificate authentication with curl

A quick snippet useful for testing client certificate authentication against a server:

curl -k https://test.domain.com --key ./client.key --cert ./client.crt -v

or alternatively you can also include the parent CA with:

curl -k https://test.domain.com --key ./client.key --cert ./client.crt --cacert cacert.pem -v

No comments:

Post a Comment