Error calling multiple back-end services with different client certificates using NSS

Solution Verified - Updated -


  • When calling two services with mutual authentication, using curl_exec() php function, only the first one is working properly.

    * skipping SSL peer certificate verification
    * NSS: client certificate from file
    *       subject: ...
    *       start date: Jan 06 08:24:47 2022 GMT
    *       expire date: Jan 06 08:34:00 2024 GMT
    *       common name: ...
    *       issuer: CN=CM-CIC SSL,DC=cm-cic,DC=fr
    * SSL read: errno -8152 (SEC_ERROR_INVALID_KEY)
    * The key does not support the requested operation.
    * Closing connection 4
  • Why do I get an error when I run 2 or more calls with two-way authentication by a python script?

    pycurl.error: (56, 'The key does not support the requested operation.')


  • Red Hat Enterprise Linux (RHEL)
    • 7
  • NSS
  • SSL mutual authentication

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content