<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Secuirty-Server on sigtar.com</title>
		<link>https://sigtar.com/tags/secuirty-server/</link>
		<description>Recent content in Secuirty-Server on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Mon, 21 Jun 2010 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/secuirty-server/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>vmware - replacing security server ssl cert</title>
				<link>https://sigtar.com/2010/06/21/vmware-replacing-security-server-ssl-cert/</link>
				<pubDate>Mon, 21 Jun 2010 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2010/06/21/vmware-replacing-security-server-ssl-cert/</guid>
				<description>&lt;p&gt;This page is hard to find, but it has it all&amp;hellip;  &lt;a href=&#34;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1008705&#34;&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1008705&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;To generate and import an SSL certificate on the VDM server:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Certificates are only required for client‐facing systems (that is, standard, replica, or security VDM servers).&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;All the commands related to certificates need to be run in System Context. From a command prompt, run:at &lt;time&gt; (In 24 hour format) /interactive cmd.exeFor example:at 21:45 /interactive cmd.exeThis opens a new command window in System Context.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;On the VDM or security server, change the directory to C:\Program Files\VMware\VMware VDM\Server\jre\bin.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run the following command to create a 1024bit self-signed SSL certificate:keytool -genkey -keyalg &amp;ldquo;RSA&amp;rdquo; -keystore keys.p12 -storetype pkcs12 -validity 360To generate 2048bit certificate, run the command:keytool -genkey -keyalg &amp;ldquo;RSA&amp;rdquo; -keysize 2048 -keystore keys.p12 -storetype pkcs12 -validity 360&lt;strong&gt;Note&lt;/strong&gt;: The keys.p12 file is created in the current directory.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run the following command to create a certificate signing request (CSR):keytool -certreq -keyalg &amp;ldquo;RSA&amp;rdquo; -file certificate.csr -keystore keys.p12 -storetype pkcs12 -storepass &lt;secret&gt; , w here &lt;secret&gt; is the keystore password&lt;strong&gt;Note&lt;/strong&gt;: The certificate.csr file is created in the same location.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Send the CSR file (certificate.csr) to a certificate authority and request a certificate in PKCS7 format.&lt;strong&gt;Note&lt;/strong&gt;: If the certificate authority does not offer PKCS7 as a format, see &lt;em&gt;Exporting into PKCS7 format&lt;/em&gt; in this article for information about exporting the certificate data in the appropriate format.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Copy the contents of the file into a text editor and save it as certificate.p7. The content appears similar to:&amp;mdash;&amp;ndash;BEGIN PKCS7&amp;mdash;&amp;ndash; MIIF+AYJKoZIhvcNAQcCoIIF6TCCBeUCAQExADALBgkqhkiG9w0BBwGgggXNMIID LDCCApWgAwIBAgIQTpY7DsV1n1HeMGgMjMR2PzANBgkqhkiG9w0BAQUFADCBhzEL i7coVx71/lCBOlFmx66NyKlZK5mObgvd2dlnsAP+nnStyhVHFIpKy3nsDO4JqrIg EhCsdpikSpbtdo18jUubV6z1kQ71CrRQtbi/WtdqxQEEtgZCJO2lPoIWMQA= &amp;mdash;&amp;ndash;END PKCS7&amp;mdash;&amp;ndash;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: For more information about importing certificates issued by an OpenSSL CA, see &lt;a href=&#34;http://kb.vmware.com/kb/1007390&#34;&gt;Importing certificates issued by an OpenSSL CA (1007390)&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run the following command to import certificates issued by CA:keytool -import -keystore keys.p12 -storetype pkcs12 -storepass &lt;secret&gt; -keyalg &amp;ldquo;RSA&amp;rdquo; -trustcacerts -file certificate.p7Where &lt;secret&gt; is the keystore password (the password you used when exporting the certificate).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;To configure the View Connection Server to use the new certificate, place the new certificate and copy the keys.p12 file (the keystore file) in C:\Program Files\VMware\View Manager\Server\sslgateway\conf.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Modify or create the following file:C:\ProgramFiles\VMware\View Manager\Server\sslgateway\conf\locked.properties&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Add the following properties:keyfile=keys.p12 keypass=&lt;secret&gt;&lt;/p&gt;&#xA;&lt;p&gt;Where &lt;secret&gt; is the keystore password (the password you used when exporting the certificate).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Restart the View Connection Server service.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;Exporting into the PKCS7 format&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;To export into the PKXS7 format:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open the certificate file.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Click &lt;strong&gt;Details&lt;/strong&gt; &amp;gt; &lt;strong&gt;Copy to File&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Click PKCS7, then select Include Details of Certificate.&lt;/p&gt;&#xA;&lt;p&gt;The file is saved with a .P7B extension.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
	</channel>
</rss>
