You can generate a self-signed certificate for a VMware Aria Operations for Logs Windows or Linux agent by using the OpenSSL tool.
Procedure
- Create a certificate folder in the path mentioned for ssl_ca_path in the liagent.ini file.
- Open the Command Prompt and run the following command.
/etc/pki/tls/certs/ > openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out ca.pem
OpenSSL prompts you to supply certificate properties, including country, organization, and so on.
Results
Two files are created, key.pem and ca.pem.
- key.pem is the private key.
- ca.pem is a certificate signed by
key.pem
.