{"id":107,"date":"2008-01-17T08:44:00","date_gmt":"2008-01-17T15:44:00","guid":{"rendered":"http:\/\/www.jasemccarty.com\/blog\/2008\/01\/go-daddy-wildcard-certificate-with-vi3.html"},"modified":"2008-01-17T08:44:00","modified_gmt":"2008-01-17T15:44:00","slug":"go-daddy-wildcard-certificate-with-vi3","status":"publish","type":"post","link":"https:\/\/www.jasemccarty.com\/blog\/go-daddy-wildcard-certificate-with-vi3\/","title":{"rendered":"Go Daddy Wildcard Certificate with VI3"},"content":{"rendered":"<p><span style=\"color: rgb(0, 0, 0);\">Well, I&#8217;ve confirmed on my test system, that a Go Daddy wildcard certificate will work on a VI3 (VirtualCenter 2.5 &amp; ESX 3.5) system.<\/span><\/p>\n<p style=\"color: rgb(0, 0, 0);\">Let&#8217;s say you already have a wildcard certificate in place on an IIS web server, and you&#8217;d like to use it in your VI3 environment.<\/p>\n<p style=\"color: rgb(0, 0, 0);\">First you&#8217;ll need to export the cert from your IIS box, using the Certificates snap in.<br \/><a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/export-768121.JPG\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/export-768118.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/>Right click, then All Tasks, then Export, and Next on the first screen<\/p>\n<p><a style=\"color: rgb(0, 0, 0);\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz2-781755.JPG\"><img decoding=\"async\" style=\"margin: 0pt 10px 10px 0pt; cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz2-781751.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/><span style=\"color: rgb(0, 0, 0);\">Select &#8220;Yes, export the private key<\/span><\/p>\n<p style=\"color: rgb(0, 0, 0);\"><a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz3-781773.JPG\"><img decoding=\"async\" style=\"margin: 0pt 10px 10px 0pt; cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz3-781766.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/>&#8220;Personal Information Exchange &#8211; PKCS #12 (.PFX)&#8221; should be selected<br \/>And &#8220;Include all certificates in the certification path if possible&#8221; should be checked.<\/p>\n<p><a style=\"color: rgb(0, 0, 0);\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz4-758985.JPG\"><img decoding=\"async\" style=\"margin: 0pt 10px 10px 0pt; cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz4-758982.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/><span style=\"color: rgb(0, 0, 0);\">Enter your password here<\/span><\/p>\n<p style=\"color: rgb(0, 0, 0);\"><a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz5-714101.JPG\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz5-714099.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/>Enter a filename for the exported cert.  I called it wildcard.pfx<\/p>\n<p style=\"color: rgb(0, 0, 0);\"><a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz6-716713.JPG\"><img decoding=\"async\" style=\"margin: 0pt 10px 10px 0pt; cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/exportwiz6-716709.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/>Click finish.<\/p>\n<p style=\"color: rgb(0, 0, 0);\">Now you&#8217;ll need to use <a href=\"http:\/\/www.openssl.org\/\">OpenSSL<\/a> to convert the file you just generated.<\/p>\n<p style=\"color: rgb(0, 0, 0);\">I ran the openssl.exe from the path on my test system (C:opensslbin)<\/p>\n<p style=\"color: rgb(0, 0, 0);\"><a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/cmd-701971.JPG\"><img decoding=\"async\" style=\"margin: 0pt 10px 10px 0pt; cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/cmd-701967.JPG\" alt=\"\" border=\"0\" \/><\/a><br \/>C:opensslbinopenssl.exe pkcs12 -in wildcard.pfx -out wildcard.txt -nodes.  You will be asked for the password you entered when you were exporting the pfx.<\/p>\n<p><span style=\"color: rgb(0, 0, 0);\">Now open the wildcard.txt with Wordpad (notepad won&#8217;t work).  I use <\/span><a style=\"color: rgb(0, 0, 0);\" href=\"http:\/\/www.gena01.com\/win32pad\/\">Win32Pad<\/a><span style=\"color: rgb(0, 0, 0);\"> instead.<\/span><\/p>\n<p style=\"color: rgb(0, 0, 0);\">Grab the portion with the following:<br \/><span class=\"orgmaintext\">&#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211;<br \/>(Block of Random Text)<br \/>&#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;<br \/>And save this (notepad is fine for this) as rui.key<\/span><\/p>\n<p><span style=\"color: rgb(0, 0, 0);\">Grab the portion with the following:<\/span><br \/><span style=\"color: rgb(0, 0, 0);\">&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<\/span><br \/><span style=\"color: rgb(0, 0, 0);\" class=\"orgmaintext\">(Block of Random Text)<br \/><\/span><span style=\"color: rgb(0, 0, 0);\">&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<\/span><\/p>\n<p style=\"color: rgb(0, 0, 0);\">And save this (notepad is fine for this) as rui.crt<\/p>\n<p><span style=\"color: rgb(0, 0, 0);\">Make sure you make a backup of the existing keys, in the case that something goes wrong with this process.  They are located in the <\/span><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">c:Documents and SettingsAll UsersApplication DataVMwareVMware VirtualCenterSSL<\/span><span style=\"color: rgb(0, 0, 0);\"> folder.<\/span><br \/><span style=\"color: rgb(0, 0, 0);\"><br \/>Now, rename the wildcard.pfx to rui.pfx.  Copy rui.pfx, rui.crt, and rui.key files, to the above folder.<\/span><span style=\"color: rgb(0, 0, 0);\"><\/p>\n<p>You&#8217;ll then need to reinitialize the vpxd password.  Run &#8220;vpxd.exe -p&#8221; again from a Dos box in the following folder:<\/span><br \/><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">c:Program FilesVMwareInfrastructureVirtualCenter Server<\/span><span style=\"color: rgb(0, 0, 0);\"><\/p>\n<p>Then restart your VirtualCenter service.<\/span><span style=\"color: rgb(0, 0, 0);\"><\/p>\n<p>You should then be able to log into your VirtualCenter server using a wildcard certificate.<\/span><span style=\"color: rgb(0, 0, 0);\"><\/p>\n<p>Additionally, you can upload the rui.crt and rui.key files to your ESX host (using <\/span><a style=\"color: rgb(0, 0, 0);\" href=\"http:\/\/winscp.net\/\">WinSCP<\/a><span style=\"color: rgb(0, 0, 0);\">) to the <\/span><span style=\"font-weight: bold; color: rgb(0, 0, 0);\">\/etc\/vmware\/ssl\/<\/span><span style=\"color: rgb(0, 0, 0);\"> path.  Make sure you back these up too.<\/span><span style=\"color: rgb(0, 0, 0);\"><\/p>\n<p>I then restarted my ESX 3.5 system, and it started to use the wildcard certificate as well.<\/p>\n<p><\/span><a style=\"color: rgb(0, 0, 0);\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/firefox-781434.JPG\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/firefox-781427.JPG\" alt=\"\" border=\"0\" \/><\/a><span style=\"color: rgb(0, 0, 0);\"><br \/>As always, If you wish to use this method that I have seen success with, feel free to.<br \/><span style=\"font-style: italic;\">By using the methods I have described, you agree that I will not be held liable for any issues in your environment.<\/span><\/span><\/p>\n<p><span style=\"color: rgb(0, 0, 0);\">Enjoy.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, I&#8217;ve confirmed on my test system, that a Go Daddy wildcard certificate will work on a VI3 (VirtualCenter 2.5 &amp; ESX 3.5) system. Let&#8217;s &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}