5.0

Table Of Contents
If you downloaded a server certificate, import it into your keystore file. See “Import a Signed Server Certificate
into a Keystore File,” on page 81.
Import a Root Certificate into a Keystore File
If your View Connection Server instance or security server does not trust the root certificate for the server
certificate that you have obtained from a CA, use keytool to import the certificate into your keystore file before
you add the server certificate.
Procedure
1 Save the root certificate as rootCA.p7 in the directory that contains your keystore file.
2 Open a command prompt and use keytool to import the root certificate into the keystore file.
For example:
keytool -importcert -keystore keys.jks -storepass secret -alias rootCA -file rootCA.p7
What to do next
If your server certificate is signed by an intermediate CA, import the intermediate certificate into your keystore
file. See “Import an Intermediate Certificate into a Keystore File,” on page 80.
If your server certificate is signed by a root CA, import the certificate into your keystore file. See “Import a
Signed Server Certificate into a Keystore File,” on page 81.
Import an Intermediate Certificate into a Keystore File
If your server certificate is signed by an intermediate CA rather than by a root CA, you must add the
intermediate certificate to the keystore before you add the server certificate.
Prerequisites
Request and obtain an intermediate certificate from the intermediate CA.
Procedure
1 Save the intermediate certificate as intermediateCA.p7 in the directory that contains the keystore file.
2 Import the intermediate certificate into the keystore file.
For example:
keytool -importcert -keystore keys.jks -storepass secret -trustcacerts -alias intermediateCA -
file intermediateCA.p7
What to do next
If you downloaded a server certificate, import it into your keystore file. See “Import a Signed Server Certificate
into a Keystore File,” on page 81.
VMware View Installation
80 VMware, Inc.