Skip to content

Instantly share code, notes, and snippets.

@InsulaVentus
Created October 14, 2019 18:44
Show Gist options
  • Save InsulaVentus/efc8c7c9b2476f45f227298f446026b7 to your computer and use it in GitHub Desktop.
Save InsulaVentus/efc8c7c9b2476f45f227298f446026b7 to your computer and use it in GitHub Desktop.

Curl with certificates

$ curl -v -k \
--key private-key.pem \
--cert public-certificate.pem:{password} \
https://api.example.com/xsd \
-o foo.xsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment