Loading

How to do client authentication with curl client and p12 file

Publiceringsdatum: Nov 8, 2024
Uppgift
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
Steg
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-artikelnummer

001116499

 
Laddar
Salesforce Help | Article