genkey (and keyutil) fail generating certificates with error "(null): bad certificate request : error -8016"

Solution Verified - Updated -

Issue

  • The genkey and keyutil commands provided by the crypto-utils RPM fail to generate ssl certificates with error like the following:

    Generating key. This may take a few moments...
    
    Made a key
    Opened tmprequest for writing
    (null): bad certificate request
    : error -8016
    (null): Segmentation fault (core dumped)
    

Environment

  • Red Hat Enterprise Linux 6.4

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.