How do I configure curl to use a TLS client credential stored in a Java Key Store (JKS)?

Solution Unverified - Updated -

Issue

  • Need a way to use curl to connect to a webserver that is enforcing mutual TLS authentication. The client credential key and certificate used to connect to the webserver is stored in a java key store (JKS).

Environment

  • RHEL 7.5
  • Webserver that requires mutual TLS authentication

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.