5.0

Table Of Contents
Import a Signed Server Certificate into a Keystore File
If you obtained a signed server certificate from a CA, use keytool to import the certificate into your keystore
file.
Procedure
1 Copy the text file that contains your server certificate to the directory that contains your keystore file and
save it as certificate.p7.
For example:
-----BEGIN PKCS7-----
MIIF+AYJKoZIhvcNAQcCoIIF6TCCBeUCAQExADALBgk
LDCCApWgAwIBAgIQTpY7DsV1n1HeMGgMjMR2PzANBgk
i7coVx71/lCBOlFmx66NyKlZK5mObgvd2dlnsAP+nnS
EhCsdpikSpbtdo18jUubV6z1kQ71CrRQtbi/WtdqxQE
-----END PKCS7-----
2 Open a command prompt and use keytool to import the server certificate into the keystore file.
For example:
keytool -importcert -keystore keys.jks -storepass secret -keyalg "RSA" -trustcacerts -file
certificate.p7
3 If you specified a temporary certificate, type yes when you receive the message ... is not trusted.
Install reply anyway?.
keytool generates this message because temporary certificates are not meant for production use.
What to do next
Configure your View Connection Server instance or security server to use the certificate. See “Configure a
View Connection Server Instance or Security Server to Use a New Certificate,” on page 81.
Configure a View Connection Server Instance or Security Server to Use a New
Certificate
To configure a View Connection Server instance or security server to use a new SSL server certificate, you must
set properties in the locked.properties file on the View Connection Server or security server host.
Prerequisites
Obtain an existing PKCS#12 file, export an existing Microsoft IIS SSL server certificate, or create a new SSL
server certificate.
Procedure
1 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\
keystore_file
keystore_file is the name of the keystore file.
For example, your keystore file might be keys.jks if you imported your certificate with the keytool utility.
Your keystore file might be keys.pfx if you have an existing PKCS#12 file or you exported an existing
Microsoft IIS SSL server certificate.
Chapter 7 Configuring SSL Certificates for View Servers
VMware, Inc. 81