You can use OpenSSL to configure an authentication certificate for use with VMware Aria Operations. You must first generate a Certificate PEM for VMware Aria Operations, then install the Certificate PEM in VMware Aria Operations. The certificates applied through the VMware Aria Operations Admin UI will be used only for securely connecting and serving the user interfaces to (external) clients. We do not update the SSL certificates used for establishing a secure connection from VMware Aria Operations to other services like VMware Identity Manager, vCenter Server, and VMware Aria Operations for Logs.
Prerequisites
Take your cluster offline before uploading the custom web certificate.
Procedure
- Generate a Certificate PEM file for use with VMware Aria Operations.
- Generate a key pair by running this command:
openssl genrsa -out key_filename.key 2048
- Use the key to generate a certificate signing request by running this command:
openssl req -new -key key_filename.key -out certificate_request.csr
- Submit the CSR file to your Certificate Authority (CA) to obtain a signed certificate.
- From your Certificate Authority, download the certificate and the complete issuing chain (one or more certificates). Download them in Base64 format.
- Enter the command to create a single PEM file containing all certificates and the private key. In this step, the example certificate is server_cert.cer and the issuing chain is cacerts.cer.
Note: The order of CA's certs in the .PEM file: Cert, Private Key, Intermediate Cert and then Root Cert.
cat server_cert.cer key_filename.key cacerts.cer > multi_part.pem
In Windows replace cat with type.
The finished PEM file should look similar to the following example, where the number of CERTIFICATE sections depends on the length of the issuing chain:
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key: your_domain_name.key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----
- Install a PEM in VMware Aria Operations.
- In a Web browser, navigate to the VMware Aria Operations administration interface.
https://vrops-node-FQDN-or-ip-address/admin
- Log in with the admin user name and password.
- At the upper right, click the yellow SSL Certificate icon.
- In the SSL Certificate window, click Install New Certificate.
- Click Browse for certificate.
- Locate the certificate .pem file, and click Open to load the file in the Certificate Information text box. The certificate file must contain a valid private key and a valid certificate chain.
- Click Install.