certutil - Error "SEC_ERROR_IO: An I/O error occurred during security authorization."

Solution Verified - Updated -

Issue

When trying to generate a TLS certificate request, the certutil command fails with the following error:

# certutil -d /etc/dirsrv/slapd-<INSTANCE_NAME>/ -R -o /root/<INSTANCE_NAME>.csr \
  -s "CN=server.example.com,O=example_organization,OU=IT,ST=North Carolina,C=US"
certutil: unable to generate key(s)
: SEC_ERROR_IO: An I/O error occurred during security authorization.
#_ERROR_IO: An I/O error occurred during security authorization.

Environment

Red Hat Directory Server 9
Red Hat Directory Server 10
Red Hat Enterprise Linux 6.x
Red Hat Enterprise Linux 7.x

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