<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSL Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.vavai.net/tag/ssl/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Sat, 23 Feb 2019 13:10:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Custom SSL Certificate Deployment on vCenter Server 6.7</title>
		<link>https://www.vavai.net/custom-ssl-certificate-deployment-on-vcenter-server-6-7/</link>
					<comments>https://www.vavai.net/custom-ssl-certificate-deployment-on-vcenter-server-6-7/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sat, 23 Feb 2019 13:10:02 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2172</guid>

					<description><![CDATA[<p>In the previous article, I discussed the installation and activation of the SSL certificate on vSphere host 6.7. The process is relatively easy. The same thing I tried to apply to vCenter 6.7 but failed. After several trial &#38; error processes, the problem is most likely because vCenter does not want to use SSL wildcards....</p>
<p>The post <a href="https://www.vavai.net/custom-ssl-certificate-deployment-on-vcenter-server-6-7/">Custom SSL Certificate Deployment on vCenter Server 6.7</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In <a href="http://v2.vavai.net/2019/02/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/">the previous article</a>, I discussed the installation and activation of the SSL certificate on vSphere host 6.7. The process is relatively easy. The same thing I tried to apply to vCenter 6.7 but failed. After several trial &amp; error processes, the problem is most likely because vCenter does not want to use SSL wildcards. When trying it using a SSL Certificate single domain (single name), the process runs smoothly.</p>


<p class="wp-block-paragraph">Here is how to install and activate the SSL certificate on vCenter Server 6.7:</p>


<p class="wp-block-paragraph"><strong>PREPARATION</strong></p>


<ul class="wp-block-list"><li>Prepare the root certificate file according to the SSL certificate. Usually the provider will provide location of the root certificate file that can be downloaded, for example for Comodo (Sectigo) SSL in <a href="https://support.comodo.com/index.php?/Knowledgebase/Article/View/854/75/root-addtrustexternalcaroot">this link</a>.</li><li>Prepare the SSL certificate .key and .crt according to your requirement. Make sure the subject alternative name (SAN) uses the vCenter host name. For example in this case it will use vc67.excellent.co.id </li><li> If the .key file and the .crt file do not yet exist, purchase the SSL Certificate. You can choose various brand and provider or reseller. As for Indonesian, Excellent provides SSL Certificate services of various types (Single, Multi Domain UCC and Wildcard) and from various brands (Comodo, GeoTrust, Symantec, Digicert and others). Please refer to the https://www.excellent.co.id/ssl/ page for more details. Unlike other providers who sometimes only provide SSL certificates without support services, Excellent provides support for the process of generating Certificate Signing Request (CSR), implementing SSL or Revoke/Replacement SSL.</li><li> When purchasing an SSL certificate, the seller  will request a CSR (Certificate Signing Request). To generate a CSR file from vCenter, connect SSH to vCenter, run the bash shell application (by typing the shell command then run the command:<strong> /usr/lib/vmware-vmca/bin/certificate-manager</strong> and follow the wizard. As you want to do generate CSR, select option number 1 <strong>Replace SSL certificate with Custom Certificate</strong> then the <strong>Generate Certificate Signing Request(s) and Key(s) for Machine SSL certificate</strong>. Make sure to enter the correct hostname according to your vCenter hostname when it asked about subject alternative name or hostname.</li><li></li></ul>


<figure class="wp-block-image"><img decoding="async" src="http://v2.vavai.net/wp-content/uploads/2019/02/vavai-bash-vcenter-1024x1023.png" alt="" class="wp-image-2174"/><figcaption> <br />Generate CSR on vCenter CLI</figcaption></figure>


<p class="wp-block-paragraph">After the generate process is done, the location of the CSR file will be informed at the end of the command results, for example in this example the location of the CSR file is in<strong> /srv/vmca_issued_csr.csr</strong>. When generating a CSR file it will automatically generate a .key file as well.</p>


<p class="wp-block-paragraph">Take the CSR file using the scp or winscp application and send it to the SSL seller or provider. Don&#8217;t send the .key file, it will be used as the opening key for the .crt file when implemented.</p>


<p class="wp-block-paragraph">After verification process and if all requirement has been passed, the SSL seller will send the crt file. If the file is separate between the SSL certificate and certificate chain, combine the two certificate into one new .crt file with the certificate chain position at the bottom.</p>


<p class="wp-block-paragraph">It means that there are already 3 files, namely the root SSL certificate file, the merged SSL certificate file and the .key file resulting from generating CSR.</p>


<p class="wp-block-paragraph"><strong>CERTIFICATE SSL ACTIVATION ON VCENTER SERVER</strong></p>


<p class="wp-block-paragraph">To activate the SSL certificate, do the procedure as follows:</p>


<ul class="wp-block-list"><li>Log in to vCenter</li><li> Enter the Administration menu <strong>Certificates | Certificate Management</strong></li><li> Login using vCenter user credentials</li></ul>


<figure class="wp-block-image"><img decoding="async" src="http://v2.vavai.net/wp-content/uploads/2019/02/vavai-vcenter-ssl-management-1024x496.png" alt="" class="wp-image-2175"/><figcaption>vCenter SSL Management</figcaption></figure>


<ul class="wp-block-list"><li>In the <strong>Trusted Root Certificates</strong> section, click <strong>Add </strong>and retrieve the prepared root SSL certificate file</li><li> In the <strong>Machine Certificate</strong> section, select the <strong>Action |Replace</strong> menu</li><li> Enter the combined SSL (certificate file with the chain certificate) and the .key  file as well</li></ul>


<figure class="wp-block-image"><img decoding="async" src="http://v2.vavai.net/wp-content/uploads/2019/02/vavai-vcenter-ssl-1024x754.png" alt="" class="wp-image-2176"/></figure>


<p class="wp-block-paragraph">vCenter will automatically detect the SSL Certificate and display a successful message if it has been successfully activated</p>


<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="300" height="295" src="http://v2.vavai.net/wp-content/uploads/2019/02/vavai-vcenter-ssl-successful-300x295.png" alt="" class="wp-image-2177" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-vcenter-ssl-successful-300x295.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-vcenter-ssl-successful.png 690w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption>Valid SSL on vCenter</figcaption></figure>


<p class="wp-block-paragraph">In addition to machine certificate, there is also a solution certificate whose implementation procedure is similar to what was done. Because my primary uses only for vCenter web client, the implementation of machine SSL certificate is sufficient to me.</p>


<p class="wp-block-paragraph">After the SSL certificate is successfully installed, restart the vCenter. Enter vCenter admin (https://vc67.excellent.co.id:5480) then select the <strong>Actions </strong>menu then <strong>Reboot | Reboot the system? | Yes</strong></p>


<p class="wp-block-paragraph">After vCenter has been successfully restarted, check whether the SSL certificate has been successfully installed or not. When accessed via a browser, an untrusted certificate message should not appear. If the SSL certificate is successfully installed and valid but the status is still untrusted, there is a possibility of cache on the browser side.</p>
<p>The post <a href="https://www.vavai.net/custom-ssl-certificate-deployment-on-vcenter-server-6-7/">Custom SSL Certificate Deployment on vCenter Server 6.7</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/custom-ssl-certificate-deployment-on-vcenter-server-6-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Commercial SSL Certificate Deployment on vSphere Host 6.7</title>
		<link>https://www.vavai.net/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/</link>
					<comments>https://www.vavai.net/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Fri, 22 Feb 2019 08:07:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2166</guid>

					<description><![CDATA[<p>By default vSphere uses an SSL certificate from VMware Certificate Authority (VMCA). If accessed through a browser, the https access will be considered untrusted. If you have the trusted SSL certificate (commercial) for your domain name, you can install it to replace the default SSL provided by VMCA. Following is the process to install the...</p>
<p>The post <a href="https://www.vavai.net/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/">Commercial SSL Certificate Deployment on vSphere Host 6.7</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">By default vSphere uses an SSL certificate from VMware Certificate Authority (VMCA). If accessed through a browser, the https access will be considered untrusted.</p>


<figure class="wp-block-image"><img decoding="async" width="1024" height="807" src="http://v2.vavai.net/wp-content/uploads/2019/02/vavai-untrusted-ssl-1024x807.png" alt="" class="wp-image-2170" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-untrusted-ssl-1024x807.png 1024w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-untrusted-ssl-300x236.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-untrusted-ssl-768x605.png 768w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/02/vavai-untrusted-ssl.png 1331w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Untrusted SSL Certificate</figcaption></figure>


<p class="wp-block-paragraph"> If you have the trusted SSL certificate (commercial) for your domain name, you can install it to replace the default SSL provided by VMCA. Following is the process to install the SSL certificate commercial on vSphere host:</p>


<ul class="wp-block-list"><li>Prepare an SSL Certificate file, (generally with the .crt extension) and key file (generally with the .key extension). The recommendation is to use an SSL Certificate wildcard type (*. domain-name) to be able to accommodate various host names and records</li><li>Copy the above two certificate files into the /etc/vmware/ssl folder on the desired host. The copying process can use the WinSCP application on the Windows operating system or can also use the scp command on a Linux or Mac operating system. Example of the scp command: <strong>scp commercial.key commercial.crt root@esxi1.excellent.co.id: /etc/vmware/ssl/</strong></li><li>Use SSH access to the server and navigate to /etc/vmware/ssl folder</li><li>Rename the rui.crt and rui.key files as a backup, for example being original.rui.crt and original.rui.key, with the command: <strong>mv rui.crt original.rui.crt</strong></li><li>Rename the commercial certificate file to the rui.crt and rui.key files</li><li>Restart vSphere host so that the SSL certificate works properly as it should</li><li>Access web client via the browser by opening the vSphere host address, for example https://esxi2.excellent.co.id</li></ul>


<figure class="wp-block-image"><img decoding="async" src="http://v2.vavai.net/wp-content/uploads/2019/02/ssl-vsphere-host-1024x669.png" alt="" class="wp-image-2168"/></figure>


<p class="wp-block-paragraph">In addition to using the host restart method, another alternative is to run the host in Maintenance Mode, install an SSL and then use DCUI to restart management agents and after that restore the host&#8217;s condition to exit the maintenance mode.</p>


<p class="wp-block-paragraph">Alternatively, after renaming the rui.crt file and the rui.key file, run the following command on the vSphere SSH console:</p>


<pre>service.sh restarted</pre>


<ul class="wp-block-list"><li>Generally SSL refers to the hostname, so after the SSL certificate is applied, access the host using name records (for example https://esxi1.excellent.co.id), don&#8217;t use IP because if you use IP, the access status will remain untrusted</li><li>If you don&#8217;t have an SSL certificate, Excellent provides SSL Certificate services of various types (Single, Multi Domain UCC and Wildcard) and from various brands (Comodo, GeoTrust, Symantec, Digicert and others). Please refer to the <a href="https://www.excellent.co.id/ssl/">SSL  page</a> for more details. Unlike other providers who sometimes only provide SSL certificates without support services, Excellent provides support for the process of generating Certificate Signing Request (CSR), implementing SSL or Revoke/Replacement SSL.</li></ul>
<p>The post <a href="https://www.vavai.net/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/">Commercial SSL Certificate Deployment on vSphere Host 6.7</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/commercial-ssl-certificate-deployment-on-vsphere-host-6-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 30/60 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching 15/33 queries in 0.014 seconds using Disk

Served from: www.vavai.net @ 2026-10-29 06:10:14 by W3 Total Cache
-->