Loading

How to do client authentication with curl client and p12 file

Date de publication: Nov 8, 2024
Tâche
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
Étapes
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

 

Numéro d’article de la base de connaissances

001116499

 
Chargement
Salesforce Help | Article