Replace default certificates

Hi, we run a 5.1 environment as well as 5.5 SSO U1c vCenter.  SSO is installed on a different server to vCenter/WebServices.


I created all the necessary certificates, but when you use Automation Tool 1.0.1 update certificates of SSO I get the error:

The service is not installed on this computer.

I checked the AUTHENTICATION Services, and the following services are started:

* VMware certificate services
* VMware directory services
* VMware identity management services
* VMware KDC Services
* VMware secure token services

Any thoughts?

How to replace the default certificate for SSO 5.5? The steps are below.

Perform these steps on the computers where Single Sign-On:

  1. Back up the vmdircert.pem and vmdirkey.pem files (located at C:\ProgramData\VMware\CIS\cfg\vmdird ).
  2. Copy the current vmdircert.pem file and save it under vmdircert.crt .
  3. Double-click on the vmdircert.crt file to open it and click on the Details tab scroll down to Subject Alternative Name and IPv4 registration and DNS name.
  4. Open a Windows command as administrator and create a temporary directory using this command:

    This example uses C:\temp :

    mkdir C:\temp

  5. Navigate to the directory using this command:

    cd C:\temp

    Note: the new key and certificate generated in this procedure will be initially stored in the temp directory.

  6. To generate a new private key, run this command:

    "C:\Program Files\VMware\Infrastructure\VMware\CIS\vmcad\certool.exe" --genkey --priv=priv.key --pub=pub.key

  7. To generate a new certificate, run this command:

    Note: replace FQDN_DNS_NAME and ip_address with the DNS and IPv4 values respectively saved in step 3:

    "C:\Program Files\VMware\Infrastructure\VMware\CIS\vmcad\certool.exe" --genCIScert --priv=priv.key --Name=VMWareDirectoryService --FQDN=FQDN_DNS_NAME --IP=IP_address --cert=cert.crt --port=11711

    Note: For environments in which multiple host names or IP addresses are used, use the following structure of command similar to the above command:

    "" "" "C:\Program Files\VMware\Infrastructure\VMware\CIS\vmcad\certool.exe" - genCIScert - priv = priv.key - name = VMWareDirectoryService-= FQDN "FQDN_DNS_NAME1,DNS:FQDN_DNSNAME_2, DNS:FQDN_DNSNAME_3 ' -IP =" IPIP_address1,:IP_address2, IP:IP_address3 " -cert = cert.crt - port = 11711

  8. Copy the new private key the location of setting up Single Sign-On VMDir by using this command:

    copy priv.key C:\ProgramData\VMware\CIS\cfg\vmdird\vmdirkey.pem

    Note: If prompted to replace the existing file, answer Yes .

  9. Copy the new certificate to the location of Single Sign-On VMDir configuration with this command:

    copy cert.crt C:\ProgramData\VMware\CIS\cfg\vmdird\vmdircert.pem

    Note: If prompted to replace the existing file, answer Yes .

  10. Restart the VMware directory on all servers of Single Sign-On Service:
    1. Click on Start > Run , type services.msc , and then press enter.
    2. Locate the VMware Directory Service , then click on Restart .

      Note: you must restart the service on both servers for Single Sign-On.

  11. Verify that you can continue to connect to vCenter Server.

Please see the below article to kb for more information.

VMware KB: Solve OpenSSL software from VMware vCenter Server 5.5

Tags: VMware

Similar Questions

  • What happens IF we replace the default certificates for vCenter 5.1?

    Does anyone have specific vmware documents indicating what happens IF we replace the default certificates for vCenter 5.1 SSO, inventory, Web Client etc... services?

    I found this below at page 19 of https://www.vmware.com/files/pdf/products/vCenter/VMware-vCenter-Server-Single-Sign-On.pdf

    Certificates update

    When you install the vCenter Single Sign-On, each component that registers with it - including

    vCenter Single Sign-On himself - uses SSL to communicate between components and saved solutions.

    By default, SSL certificates are generated automatically by VMware installation and upgrade process

    and are sufficient for the operational security for most VMware customers.

    Some clients prefer to use their own self-signed or purchased SSL certificates. A tool has been developed to

    help the insertion of these certificates after vCenter Server installation. Because of the additional knowledge

    required to create and install self-signed certificates, we recommend that you review the following knowledge of VMware

    basis of articles:

    "Deployment and using the tool to automate SSL certificate.

    (VMware 2041600 knowledge base article)

    "Generation of certificates for use with the VMware Certificate SSL automation tool"

    (VMware 2044696 knowledge base article)

    In 10 years your vCenter starts (because of expiry of the certificate).

    Your users will see pesky warnings of SSL certificate when connecting components.

    Apart from that all traffic is always secure and encrypted with certificates by default, you have simply a chain of trust for them.

  • Replace the certificate self-signed prominent 5.3

    Select a certificate:

    1 Subject: C = US, S = CA, L = CA, O = VMware Inc., unit of ORGANIZATION = VMware Inc., CN = VVVDCVDID03, [email protected]
    Valid from: 31/12/2013-15:56:35
    Valid until the: 31/12/2015-15:56:35
    Footprint: E93EDE1797C55BC61E95DF625AC33EC8D30DD089

    2 object: CN = .net, OR default certificate of VMware View = VVVDCVDID03.mydomain, O = "VMware, Inc.."
    Valid from: 12/30/2013 15:24:20
    Valid until the: 28/12/2023-15:24:20
    Footprint: 671E847CA3A55FC31AA62034174B29EC37D4DF38

    3 object: CN = * .mydomain .net, O is my company Holdings LLC, L = Grant Park, S = Illinois, C = US
    Valid from: 01/08/2014-19:00
    Valid until the: 14/01/2015-07:00
    Footprint: 1D976E97E9B9C55A02470F45618F7E2CD8763B43

    Enter the choice (0-3, 0 to abort): 3
    Remove the link to certificate successfully 18443 port.
    Bind the new certificate to the port.
    ReplaceCertificate successful operation.

    Yet the certificate still shows as invalid and self-signed view Admin and when I join on the site.  It's showing that ranked #2 in the SVICONFIG.

    In addition to this SVICONFIG does not appear to be installed facing the connection to the server at the point 5.3. Or at least I can't.  5.3 documents do not appear to exist. 5.2 only.

    How can I replace the self-signed certificate in my servers connection and security now?

    http://pubs.VMware.com/view-51/index.jsp?topic=%2Fcom.VMware.view.installation.doc%2FGUID-5ED2A8AB-0D5F-495F-B2F7-D7C64C7A021E.html

    http://pubs.VMware.com/view-51/index.jsp?topic=%2Fcom.VMware.view.installation.doc%2FGUID-5ED2A8AB-0D5F-495F-B2F7-D7C64C7A021E.html

    The solution in the end was that the self singing and new cert had the same friendly name of "vrm".  Changed the name of the car to "oldcert" sign and restarted the server connection.  That solved.

  • Default certificate template can not install

    When build server CA Microsoft on Windows server 2008R2, it could not install the default certificate template. When run certutil - InstallDefaultTemplates, it failed with insufficient access rights to perform the operation. The account that you use to install that is the Member of the domain admins, administrators of the company, publishers of certificates, Cert Server administrators.

    We have a domain in the forest and a child domain, the server of the CA is in the child domain.

    What else am I missing? Thanks in advance!

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Cannot access vCenter 6 licenses after the replacement of certificate

    Hi all

    Ive just replaced my vcenter 6 solution user certificates by using the Certificate Manager tool and computer. All seemed well, until when I unplugged my host in the cluster and when I try to reconnnect, brings me an error on my ssl certificate licensing, saying that my certificate in use is a less secure version lower than 3.

    I tried to access home > license option but the samr error jumped. Then I went to check the certificates that I used and found that they were indeed v1 certificates. However, the generation of the certificate request was made automatically by the tool. I don't have a choice to select the version used. Is this expected behavior? Or is there a way I can change the Certificate Manager to generate a v3 certificate requests? Or is it a totally different problem altogether.

    After a repair, we discovered that the admin of certificate uses the default settings and published the cert for us, which did not include the required extensions for a v3 cert. This caused the vcenter unable to access the license characteristics option.

    A resignation of the cert with additional extensions were made and has been used to replace the previous CERT using Certificate Manager. This solves our problem

  • Replacement of Certificate SSL - invalid certificate format

    Has anyone had luck replacing the default SSL certificate?  I have a cert .pem format with the string to it and is having back and error of invalid certificate format.  I tried out the string just to see and who did not, but it gives me good to go, because I believe that we meet all the requirements of the cert.  Y at - it logs that would provide more info on the issue?

    Have you checked: replace the newspaper Insight SSL certificate with a CA signed cert

  • Error replace the certificate SSL - inventory services with using SSL - please help automation tools

    I uses updated SSL tools to change the SSL to vCenter 5.5 certificate.

    Modification of SINGLE authentication certificate has been successful, but I'm having a problem with the inventory services.

    Error message below.

    ==================================================================

    4 update the inventory Service SSL certificate

    1. update the confidence of the inventory of Single Sign-On Service

    2. update the Service of Trust inventory to vCenter Server

    3 update the inventory Service SSL certificate

    4. back to the old inventory SSL Certificate Service

    5. return to the main menu to update other services

    The service chosen is: 3

    [Wednesday 3 December, 2014 - 13:49:12.88]: services that are delivered to market as part of thi

    operation s are: vCenter Inventory Service.

    Enter the location of the new inventory channel Service SSL: C:\certs\InventorySer

    vice\chain.PEM

    Enter the location of the new private key for the inventory Service: C:\certs\InventoryS

    ervice\rui - orig.key

    Enter the SSO administrator user (default value is: administrator@vsp)

    here.local):

    Enter the SSO administrator password (not displayed):

    [.] The supplied certificate string is valid.

    [Wednesday 3 December, 2014 - 13:49:44.41]: last update of functioning inventory Service SSL cert

    ificatsanitai re has failed:

    [Wednesday 3 December, 2014 - 13:49:44.42]: unable to determine if the inventory Service is registe

    Red with Single Sign-On - errorlevel is 1

    =================================================================

    Problem solved, as the vCenter my share of the same SSO domain environment is necessaio that certificcado the backend SSL is changed.

  • Looking for input on the replacement of certificates self-signed

    After many hours trying to find an answer, I now turn to the experts for assistance here.  I have Setup initially vcloud with a self-signed certificate and I am looking for help.  After some research, I was able to create a new key file with my CA-signed certificate.  However, I have problems beyond the portion of reconfigure.

    First off I am struck by the: 1433 bug I had when I initially configure vcloud where the configure script does not pick up the port number.  The workaround for this is to add: 1433 to the host name as it the entrance as the port number.  Now that I'm gone, I get an error NewInstall_preInit sql.  I don't understand not even why I need a "newInstall" as I already have a database works.  Here is my command output, maybe one of the guru here can point me in the right direction.

    [root@vcloud bin] # cd/opt/vmware/vcloud-director/bin/configure
    Welcome to the vCloud Director configuration utility.
    You will be asked to enter a number of parameters which are necessary for
    Configure and start the vCloud Director service.
    Please enter the path to the keystore of Java that contains your SSL certificates and
    private key: /opt/vmware/vcloud-director/cert.ks
    Please enter the password for the key file:
    Please enter the password for the private key for the certificate of "http":
    Please enter the password for the private key for the certificate of "consoleproxy":
    The following data types are supported:
    1 oracle
    2 Microsoft SQL Server
    Enter the type of database [default = 1]: 2
    Enter the host (or IP address) to the database: vmgmt1:1433
    Enter the database [Default = 1433] port: 1433
    Enter the name of the database [default = vcloud]: vcloud
    Enter the name of the instance [default = MSSQLSERVER]: vcloud
    Enter the database user name: his
    Enter the database password:
    Connection to the database: jdbc:jtds:sqlserver://vmgmt1:1433:1433 / vcloud; socketTimeout = 90; instance = vcloud
    loading /opt/vmware/vcloud-director/db/mssql/NewInstall_PreInit.sql
    [2 reports]
    Execution of SQL query error: ' IF ((SELECT is_read_committed_snapshot_on FROM sys.databases WHERE database_id = DB_ID()) <>1).
    BEGIN
    DECLARE @sql varchar (8000)
    SELECT @sql = '
    ALTER DATABASE ' ' + DB_NAME() + ' ' SET SINGLE_USER WITH IMMEDIATE RESTORATION.
    ALTER DATABASE ' ' + DB_NAME() + ' "ALLOW_SNAPSHOT_ISOLATION DEFINED;
    ALTER DATABASE ' ' + DB_NAME() + ' ' SET READ_COMMITTED_SNAPSHOT ON WITH NO_WAIT;
    ALTER DATABASE ' ' + DB_NAME() + ' ' SET MULTI_USER;
    '
    Exec (@SQL)
    END '.
    java.sql.SQLException: Option "SINGLE_USER" cannot be defined in database 'master '.
    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
    at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
    at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:636)
    at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:723)
    at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1157)
    at com.vmware.vcloud.configure.Db.executeSqlBatch(Db.java:231)
    at com.vmware.vcloud.configure.Db.executeSqlScript(Db.java:190)
    at com.vmware.vcloud.configure.Db.createTables(Db.java:142)
    at com.vmware.vcloud.configure.Db.maybeInitialize(Db.java:301)
    at com.vmware.vcloud.configure.ConfigAgent.configureDatabase(ConfigAgent.java:1631)
    at com.vmware.vcloud.configure.ConfigAgent.start(ConfigAgent.java:396)
    at com.vmware.vcloud.configure.ConfigAgent.main(ConfigAgent.java:295)
    Communication with the database error: Option SINGLE_USER cannot be defined in the master database.

    Just a stab in the dark - the guides call say use a user for vcloud (named: vcloud) not "its".

    Our vcloud database user login has a default instance of the vcloud database.  Maybe this will get around the question (seems to me that THE default connection is master - and before the change of the "vcloud" database scripts he tries to put in single-user mode.

  • Why the CD player replace default 'use Acrobat Pro' to open pdf files?

    Had to install the CD player to open online pdf files. Already have Acrobat Pro. After the installation of the drive of DC and despite repeated together "use this application to open pdf files" Acrobat Pro, CD player overrides this setting. Seems so new versions of programs... as, for example, Windows 10... are programmed by nerds who seem to think they know more about what a user wants to that user only. Sites now offer pdf files requiring a CD to open, but this version now seems to have the attitude "to hell with what you want to do." I want only to set Acrobat Pro as my default application to open pdf files. How can I do this? And, Adobe, why do you think that you know better than I what I want? < Nothing new, by the way; I had to do to make the script processing in PhotoShop, because it substitutes for my choices for the target files and your technicians had no idea how to solve this problem, with workarounds.

    Hi brucec3514345,

    Acrobat Reader DC has been defined as the once its installed default PDF Viewer, this is a behavior of design. However, you can change the default program, open Acrobat, navigate to the Edit-> Preferences-> General-> click "set as my default pdf reader.

    Click OK to confirm the changes.

    Kind regards
    Nicos

  • Pre and EAS 2007 policies: Possible to replace default MaxCalendarAgeFilter?

    My pre calendar shows that my previous 2 weeks of appointments of the Exchange, regardless of how far behind, I put to synchronize e-mail. I did some research and discovered that there is a strategy Exchange ActiveSync called MaxCalendarAgeFilter which seems to be the factor limiting, at least by default. Is it possible to change the settings on the meadow to substitute this plu email policy and pull EAS? Thank you. {Jonathan}

    Currently the EAS account is assigned to take only two weeks to prevent the good performance.

    This type of issue was sent to our Engineering Department as a feature request that changes would be made available through that update the air webOS.

  • the replacement default dump configuration

    Hi all

    I have following problem with the restoration of the database and the performance.

    1. I created the file to dump two days ago. That day, our application was working quickly.

    2. I restored just the dump file it today. But it's too slow.

    I can't find where the problem is. Anyone have advice and solution.

    It replaces some configurations?

    EBA

    Hello

    You can see some examples here:ORACLE-BASE - Oracle Cost - Based Optimizer (CBO) and statistics (DBMS_STATS)

    HTH

  • Replace the certificate SSL of Insight Log with a CA signed cert

    I'm trying to generate a cert for Insight Log using the method described in this blog post (below) using an automated batch file

    http://www.derekseaman.com/2012/09/VMware-vCenter-51-installation-part-2.html

    The chain.pem file resulting includes my cert and chain cert CA.  When I try to add to the Insight Journal, it is said that the cert is invalid.  Is that you guys can provide suggestions on how to change this piece of lot code to use Log Insight?  The meat of the lot is listed below (I just left aside all the variables that are defined in advance)

    CD /d %Cert_Path%\loginsight

    % OpenSSL_BIN % genrsa 2048 > rui.key

    % OpenSSL_BIN % req-out rui.csr - rui.key - new config key - loginsight.cfg

    Certreq-submit - q - f config "% nom_autorite_de_certification %" attrib-"CertificateTemplate: % Cert_Template % ' rui.csr rui.crt

    % OpenSSL_BIN % pkcs12-export - in rui.crt - inkey rui.key - certfile % CA_Cert_Chain % - name rui-out rui.pem

    copy/b rui.crt + % CA_Cert_Chain % chain.pem

    You must have a file that contains the key and the string, otherwise you will get an error. This command:

    % OpenSSL_BIN % pkcs12-export - in rui.crt - inkey rui.key - certfile % CA_Cert_Chain % - name rui-out rui.pem

    Creates a file, but rui.pem is incorrect. It is actually creating a rui.pfx (see at the bottom of this link: The Most Common orders OpenSSL). I think the problem is that you have the - flag of knots at the end of the command (see what is the purpose - nodes in the openssl argument? - Stack Overflow). A visual way to check is to open the .pem and ensure one contains a section – BEGIN RSA PRIVATE KEY. The chain.pem does not work and the rui.pem is binary, because these two will fail. I hope this helps!

  • Cisco NAC SSL certificate replacement

    Hello

    My apologies if this is posted in the wrong community.

    We have a NAC Manager and 2 CASES where the external SSL CA certificates are expiring November 1. Here are the certificates based on the internal IP addresses of the applainces.

    Due to a change in the CAB Forum, external case will be putting anymore based on interally CERT be resolved IPs or hostnames, so I need to replace these certificates with those based on their FULL domain name.

    However, I do have the option to generate a CSR based on the existing cert or to generate a new temporary certificate. This will allow me to generate a certificate based on the FULL domain name, but I'm not sure of the generation of impact that causes a new certificate?

    Did anyone done this before? If so, is it safe to do it or it will cause problems within the devices / with end users who connect?

    What is the only way to generate a new certificate?

    Thanks in advance for any help or suggestions you can provide

    Richard,

    No need to remove the old cert, generating a new cert temp will not cause any problem.

    This should respond to your request.

    http://www.Cisco.com/c/en/us/TD/docs/security/NAC/appliance/configuratio...

    ~ JG

    Note the useful messages

  • Identity certificate replacing ASA5520 Anyconnect

    I hope someone can give me a quick answer to my query, we currently have an asa remote access using Anyconnect with self-signed certificate facility and several users in the database of certificate that we use for the radius and certificate authentication.

    I want to buy and get a signed certificate of trust CA (such as Verisign), and replace the current free signed certs.

    My question is should I reset the current ASA CA server and replace the certificate user database? That is to say to start over.

    No, you don't have to start from scratch. It is common to have the ASA-identity-CERT to a public certification authority, but user certificates are a private certification authority. With your change, get you exactly this scenario.

    --
    Don't stop once you have upgraded your network! Improve the world by lending money to low-income workers:
    http://www.Kiva.org/invitedBy/karsteni

  • replacement for the vRA certificate error 7

    Facing a problem when replacing the certificates on the web server of IaaS. I have replace the cert in the vRA device and I get the error "certificate with thumbprint {footprint of} not found in the store." I checked and the certificate was certainly added to the web server, IaaS. I even changed the binding of IIS on the web server to use the new certificate and that represented the process unit of vRA, and I got the same message.

    thumbprint_error.PNG

    I worked with support about this and they did not even try to troubleshoot the update via the VAMI cert. They had me to do it manually using essentially the same steps as 6.2 (although there is a new URL) - http://pubs.vmware.com/vra-70/index.jsp#com.vmware.vrealize.automation.doc/GUID-91B9E89E-206B-4B1C-983D-D58A1CEDA7B4.html

    I know that this does not really solve the root cause of the problem, but at least if you come across this thread, you will know how not to waste time trying to work through the VAMI.

    Update 09/07/2016

    The link of vRA 7 above no longer works and I'm unable to find a replacement for vRA 7. However, the steps are the same as if documented for vRA 6 which can be found here: http://pubs.vmware.com/vra-62/index.jsp?topic=%2Fcom.vmware.vra.install.doc%2FGUID-91B9E89E-206B-4B1C-983D-D58A1CEDA7B4.html

Maybe you are looking for

  • Can W7 \64 bit\FF42.0\How I move the profiles?

    Everything seems to work perfectly. But I realized that I should be able to find how to move my profile to another drive on my computer somewhere in the profile itself. I've looked everywhere I can think of and can't find this info. If you can tell m

  • I want to group bookmarks in regular list files.

    It doesn't seem to be an option to move the items recently marked with a bookmark to the main list, either on 'right click' or 'left click '.

  • Satellite P855-108 - PC Monitor health fails to update - Windows 8.1 update

    Hello updated today to win 8.1 one year, windows 8, everything went wellThen I followed the recommendations of Toshiba for updating the tools but despite doing exactly as explained that flash cards (and the function keys) don't work, they're absolute

  • Why my iphone storage becomes weaker without doing anything?

    I have an IPhone 6 (16GB) phone. There is something wrong with the phone. Whenever I have check my storage to continue to become weaker. Recently, I have updated to Ios 9.3. When the update is complete, there were 800 MB of free space. But in a day,

  • Newbie - potentiometer no voltage don't drop

    Hello http://screencast.com/t/NTI2ZDBkNjM Please could someone explain why the voltage remains at 12v through the potentiometer? Neither is there any voltage drop display when I change resistance. Thank you.