To replace the default, self-signed certificate, which is installed when installing App Volumes Manager, you can use a custom self-signed certificate. To generate a custom self-signed certificate, you must first create a configuration file and then use this file to generate the key and certificate.
Alternately, you can obtain a CA-signed certificate and later use this certificate to replace the default, self-signed certificate. For more information, see Obtain a CA-Signed Certificate Using a CSR.
Procedure
-
Create and name a text file as
<config_file_name>.cfg. -
Make note of the file location.
You need this file when generating the custom self-signed certificate.
-
Open the
<config_file_name>.cfgconfiguration file in a text application and add the following settings:Note:
- You can add custom values to these settings, however ensure that you use only
digitalSignature, keyEncipherment, dataEnciphermentfor thekeyUsagesetting andserverAuth, clientAuthtoextendedKeyUsage. - It is mandatory to provide the
commonName, but optional to provideemailAddress.
[ req ] default_bits = default_keyfile = distinguished_name = encrypt_key = prompt = string_mask = req_extensions = [ v3_req ] basicConstraints = keyUsage = digitalSignature, keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth, clientAuth subjectAltName = [ req_distinguished_name ] countryName = stateOrProvinceName = localityName = organizationName = emailAddress = commonName =For example: Here is a sample
<config_file_name>.cfgfile:[ req ] default_bits = 2048 default_keyfile = svserver.key distinguished_name = req_distinguished_name encrypt_key = no prompt = no string_mask = nombstr req_extensions = v3_req [ v3_req ] basicConstraints = CA:FALSE keyUsage = digitalSignature, keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth, clientAuth subjectAltName = DNS: appvolumemanager, IP:10.0.0.10, DNS:appvolumemanager.omnissa.com [ req_distinguished_name ] countryName = US stateOrProvinceName = California localityName = Palo Alto organizationName = Omnissa LLC emailAddress = ssl-certificates@omnissa.com commonName = appvolumemanager.omnissa.com - You can add custom values to these settings, however ensure that you use only
-
To generate the custom self-signed certificate, run the following command:
openssl req -nodes -new -x509 -key out <key_name>.key -sha256 -out <certificate_name>.crt -days 3650 -config <config_file_name>.cfg -extensions v3_req.The following two files are generated as outputs:
<certificate_name>.crtand<key_name>.key.
What to do next
Was this page helpful?