Skip to main content
Version: 5.0

Generating Certificates for OpenSearch Main Administrator

The system requires dedicated certificates for the administrator account. These certificates are essential for authenticating and authorizing a user with full access privileges to all cluster functions and data.

Files to be generated:

  • admin-cert.pem — administrator certificate in PEM format

  • admin-key.pem — administrator private key in PEM format

The certificate generation process for the main administrator follows the same procedure described in the Generating Certificates for Smart Monitor Components, specifying the CN=admin parameter, but using a separate configuration file provided below. If necessary, you can set any other value of CN.

[ req ]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn

[ dn ]
C=CERT_COUNTRY
ST=CERT_STATE
L=CERT_CITY
O=CERT_ORG
CN=admin