{"id":1050,"date":"2012-08-03T09:00:04","date_gmt":"2012-08-03T13:00:04","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=1050"},"modified":"2012-08-02T19:02:57","modified_gmt":"2012-08-02T23:02:57","slug":"vmware-srm-and-ssl-certificates","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/virtualization\/vmware-srm-and-ssl-certificates\/","title":{"rendered":"VMware SRM and SSL certificates"},"content":{"rendered":"<p>I recently ran into some problems with SRM and SSL certificates.  My lab for this project has two vcenters &#8212; both using CA signed SSL certificates.  During the SRM install I used the automatically generated certificates.  When the installations were complete, I was unable to pair the sites.  The error message I received was SSL related:<\/p>\n<p>The host certificate chain is not complete. reason.msg<br \/>\n<a href=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/07\/SRM_SSL_pair.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/07\/SRM_SSL_pair-300x207.png\" alt=\"\" title=\"SRM_SSL_pair\" width=\"300\" height=\"207\" class=\"alignnone size-medium wp-image-1051\" srcset=\"https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/07\/SRM_SSL_pair-300x207.png 300w, https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/07\/SRM_SSL_pair.png 673w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I spent a lot of time trying to figure out the &#8216;trick&#8217; on how to create certificates that SRM would actually use.  I finally found a blog post here: <a href=\"http:\/\/thephuck.com\/virtualization\/creating-certificates-for-vmware-srm-or-vcenter-using-openssl-made-easy-with-video\/\">http:\/\/thephuck.com\/virtualization\/creating-certificates-for-vmware-srm-or-vcenter-using-openssl-made-easy-with-video\/<\/a> that pointed me in the right direction.  I followed the instructions but SRM still wouldn&#8217;t use the certificate.<\/p>\n<p>Looking at the certificate created, I noticed a couple of things were missing.  Specifically, the following two settings that actually make the SRM certificate different:<\/p>\n<pre>\r\nextendedKeyUsage = serverAuth, clientAuth\r\nsubjectAltName = DNS: fqdn.of.srm.server\r\n<\/pre>\n<p>Even though my CSR contained both of these settings, the CA did not include them in the certificate.  I decided to make a copy of the &#8216;Web Server&#8217; certificate template I normally use and add a &#8216;Client Authentication&#8217; purpose.  However, when I got to my CA, I noticed an SCCM Web Server template that already had the options I needed.  <\/p>\n<p>I followed the <a href=\"http:\/\/thephuck.com\/virtualization\/creating-certificates-for-vmware-srm-or-vcenter-using-openssl-made-easy-with-video\/\">instructions<\/a>, but made two different changes when submitting the CSR to my CA:<\/p>\n<p>Certificate Template: SCCM Web Server (which has a Server &#038; Client purpose)<br \/>\nAttributes: san:dns=host.name.of.vcenter (which adds the subject alternative names)<\/p>\n<p>Finally, after what felt like weeks of SSL hell, I was able to pair my sites.  Many thanks to <a href=\"http:\/\/twitter.com\/ThepHuck\">Luke @ThepHuck<\/a> for these valuable instructions.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently ran into some problems with SRM and SSL certificates. My lab for this project has two vcenters &#8212; both using CA signed SSL certificates. During the SRM install I used the automatically generated certificates. When the installations were &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/vmware-srm-and-ssl-certificates\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=1050"}],"version-history":[{"count":4,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1050\/revisions"}],"predecessor-version":[{"id":1058,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1050\/revisions\/1058"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}