Loading

How to do client authentication with curl client and p12 file

Publish Date: Nov 8, 2024
Task
Note: As different clients have different configuration settings, It will be the client's responsibility to ensure authentication correctly works with the authentication client they are using.


GOAL

Perform client authentication using curl client with pfx or p12 file
Steps
Run the following command to perform client authentication using P12 cert type.

$ curl --cert-type P12 --cert <cert-file-here.p12>:<password> https://<DLB-endpoint-here>.com/<path-here>

Source: https://stackoverflow.com/questions/32253909/curl-with-a-pkcs12-certificate-in-a-bash-script

 

Knowledge Article Number

001116499

 
Loading
Salesforce Help | Article