Specifications

Table Of Contents
View Manager Administration Guide
104 VMware, Inc.
3Fromacommandprompt,enterthefollowingwhere<secret>isthekeystore
password:
keytool -import -keystore keys.p12 -storetype pkcs12 -storepass <secret>
-keyalg "RSA" -trustcacerts -file certificate.p7
Ifyouareusingatemporarycertificateyoumaybepresentedwiththefollowing
message:
... is not trusted. Install reply anyway?
Thismessageisgeneratedbecausetherootcertificategiventoyouisnottrustedby
Javabecauseitisatestcertificateandnotforproductionuse.
To configure the View Connection Server to use the new certificate
1Placeanewcertificatefileinthefollowinglocationonastandard,replica,or
securityserverinstanceofViewConnectionServer:
C:\Program Files\VMware\VMware View\Server\sslgateway\conf
2 Createoreditthefollowingfileoneachserver:
C:\Program Files\VMware\VMware View\Server\sslgateway\conf\
locked.properties
3Addthefollowingproperties:
keyfile=keys.p12
keypass=<secret>
Thischangesthevaluesasneededtomatchwhatyoucreatedinthepreviousstep.
4RestarttheViewConnectionServerservice.Assumingyourenvironmentis
configuredtouseSSL,amessagelikethefollowingwillappearintheView
ConnectionServerlog:
13:57:40,676 INFO <Thread-1> [NetHandler] Using SSL certificate store:
keys.p12 with password of 6 characters
Thismessageindicatesthattheconfigurationisinuse.
To convert a PKCS#12 certificate to PKCS#7
1 CreateaPKCS#12certificateandchooseTomcatasWebservertypewhen
exportingthefile.
2OpenthecertificatefileinWindowsExplorer.
3ClickDetails>CopytoFile>PKCS7.
4 SelectIncludeDetailsofCertificate.