RHEL AI: Creating self signed certificate for Nginx service is failing with error

Solution Verified - Updated -

Issue

  • RHEL AI: Creating self signed certificate for Nginx service is failing with error
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.example.test.key -out server.example.test.crt -config openssl.cnf
Error checking x509 extension section v3_req
003E5893A17F0000:error:1100007C:X509 V3 routines:v2i_GENERAL_NAME_ex:missing value:crypto/x509/v3_san.c:613:
003E5893A17F0000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:crypto/x509/v3_conf.c:48:section=v3_req, name=subjectAltName, value=alt_name

Environment

  • Red Hat Enterprise Linux AI 1.3
  • Red Hat Enterprise Linux AI 1.4

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