4.6

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 85.
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 server SSL 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.
Chapter 7 Configuring Certificate Authentication
VMware, Inc. 85