@BBakkenist Wtf 😂
An SSL certificate could be described as a data container that includes the identity of a computer, the public key and the digital signature of the publisher of the certificate. Certificates are used to confirm the authenticity of the View website between a client and a server.
To generate and import an SSL certificate on the View Connection and security Server:
Add keytool to your system path by right-clicking in your View Connection Server or Security Server host My Computer and click Properties. Click the Advanced tab. Click Environment Variables. In the System variables group, select Path and click Edit. Type the path to the JRE directory in the Variable Value text box. For example:
Generate a Keystore and Certificate in the command prompt:
keytool -genkey -keyalg "RSA" -keystore <keys.p12> -storetype pkcs12 -validity 360
Add a password, For example: vmware. When keytool prompts you for the first and last name, type the fully qualified domain name (FQDN) that the client computers use to connect to the host. Enter all other information to complete the keystore file.
Open a command prompt and run this command using keytool to create a CSR
keytool -certreq -file <vmwareview.csr> -keystore keys.jks -storepass vmware
Or try (Someone noticed the above one was incorrect, Can not confirm this)
keytool -certreq -keyalg "RSA" -file <certificate.csr> -keystore <keys.p12> -storetype pkcs12 -storepass <secret>
Obtain a signed certificate from the Certificate Authority Server (CA) by going to your webbrowser
Request a certificate as shown above. Click on advanced certificate request and Open the vmwareview.csr file in NotePad. In the Details tab, click Copy to File. The Certificate Export wizard appears.
Click on Submit and Open the vmwareview.csr file in NotePad. In the Details tab, click Copy to File. The Certificate Export wizard appears.
Login in, on your Certification Authority Server and click Start > Program > Administrative Tools > Certification Authority. Expand the left pane en go to Pending Requests. 'Issue' by Right-clicking the Pending Certificate. Open the Issued Certificate pane en open the Certificate as shown below.
Go to tab 'Details'
Click Copy to file.
Export the file as a .P7B Certificate
Import the Signed Certificate into a Keystore file.To import the Signed Certificate into a keystore file, open a command prompt and run this command using keytool:
keytool -import -keystore <keys.p12> -storetype pkcs12 -storepass <secret> -keyalg "RSA" -trustcacerts -file <certificate.p7b>
Configure the View Security Server to use the new certificate. Copy the Keystore file that contains your certificate to the SSL gateway configuration directory on the View Connection Server or security server host. For example, install_directory\VMware\VMware View\Server\sslgateway\conf\keys.p12. Add the keyfile and keypass properties to the locked.properties file in the SSL gateway configuration directory on the View Connection Server or security server host. If the locked.properties file does not exist, you must create it.
Set the keyfile property to the name of your Keystore file and set the keypass property to the password for your Keystore file
Reboot your Server and all is set.