{"id":8757,"date":"2022-05-18T22:56:21","date_gmt":"2022-05-18T20:56:21","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=8757"},"modified":"2024-07-23T23:11:14","modified_gmt":"2024-07-23T21:11:14","slug":"vcenter-installing-of-custom-certificate-failed","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/vcenter-installing-of-custom-certificate-failed\/","title":{"rendered":"vCenter: Installing of a custom certificate failed"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_8757 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_8757')){$('.twoclick_social_bookmarks_post_8757').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"vCenter%3A%20Installing%20of%20a%20custom%20certificate%20failed\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Aa%20customer%20had%20the%20problem%20that%20he%20couldn%27t%20install%20a%20custom%20certificate%2C%20reset%20all%20ceritifcates%20etc.%20with%20the%20vCenter%20certificate%20manager%20%2Fusr%2Flib%2Fvmware-vmca%2Fbin%2Fcertificate-manager.%0D%0A%0D%0AHe%20had%20canceled%20a%20previous%20attempt%20and%20from%20now%20on%20an%20error%0D%0ACertificate%20Manager%20tool%20do%20not%20support%20vCenter%20HA%20systems%0D%0Aoccured%20although%20he%20hasn%27t%20enabled%20vCenter%20HA.%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/vcenter-installing-of-custom-certificate-failed\\\/\",\"post_id\":8757,\"post_title_referrer_track\":\"vCenter%3A+Installing+of+a+custom+certificate+failed\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>a customer had the problem that he couldn&#8217;t install a custom certificate, reset all ceritifcates etc. with the vCenter certificate manager <strong>\/usr\/lib\/vmware-vmca\/bin\/certificate-manager<\/strong>.<\/p>\n<p>He had canceled a previous attempt and from now on an error<br \/>\n<code>Certificate Manager tool do not support vCenter HA systems<\/code><br \/>\noccured although he hasn&#8217;t enabled vCenter HA.<\/p>\n<p><!--more--><br \/>\nThe problem was that the previous certificate installation attempt has already deleted the machine ssl key and certificate<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/lib\/vmware-vmafd\/bin\/vecs-cli entry list --store MACHINE_SSL_CERT --text\r\nNumber of entries in store :    0\r\n<\/pre>\n<p>So the solution was to install the previous key<br \/>\nTry to install<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/lib\/vmware-vmafd\/bin\/vecs-cli entry create --store MACHINE_SSL_CERT --key \/root\/TLS\/2021\/myVCenter.key --alias __MACHINE_CERT --cert \/root\/TLS\/2021\/myVCenter.cer\r\n<\/pre>\n<p>Check if it is installed <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/lib\/vmware-vmafd\/bin\/vecs-cli entry list --store MACHINE_SSL_CERT --text\r\n<\/pre>\n<p>and start the certificate manager again.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/lib\/vmware-vmca\/bin\/certificate-manager\r\n<\/pre>\n<p>Michael <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, a customer had the problem that he couldn&#8217;t install a custom certificate, reset all ceritifcates etc. with the vCenter certificate manager \/usr\/lib\/vmware-vmca\/bin\/certificate-manager. He had canceled a previous attempt and from now on an error Certificate Manager tool do not support vCenter HA systems occured although he hasn&#8217;t enabled vCenter HA.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1853,1852,228,86,14],"class_list":["post-8757","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-certificate-manager-tool-do-not-support-vcenter-ha-systems","tag-certificate-manager","tag-failed","tag-vcenter","tag-vmware-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=8757"}],"version-history":[{"count":3,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8757\/revisions"}],"predecessor-version":[{"id":8865,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8757\/revisions\/8865"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=8757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=8757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=8757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}