Authenticate with a P12 / PFX certificate bundle.
Section: TLS and Certificates
Use a PKCS#12 client certificate
bash
bash
curl --cert client.p12:mypassword --cert-type P12 https://mtls.example.comExplanation
Common in enterprise and legacy integrations.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing TLS and Certificates
Use a CA certificate directory
Use a directory of CA certificates instead of a single bundle file.
Request certificate status checks
Require certificate status validation via TLS stapling when supported.