curl: NSS error -8102 (SEC_ERROR_INADEQUATE_KEY_USAGE)

Solution Verified - Updated -

Issue

  • curl, git and other commands using the NSS library are throwing error messages similar to the following:

    * NSS error -8102 (SEC_ERROR_INADEQUATE_KEY_USAGE)
    * Certificate key usage inadequate for attempted operation.
    * Closing connection 0
    curl: (60) Certificate key usage inadequate for attempted operation.
    
  • Programs using the openssl library are not affected.

Environment

  • Red Hat Enterprise Linux 7

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