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

Tags: VMware

Similar Questions

  • Cannot save vSphere Web Client after the replacement of the SSL certificate

    Hi all

    I have followed the Articles of Derek Seaman on the replacement of all the certificates in vSphere 5.1 and have since turned to the VMware KB Articles. I replaced the certificates for the SSO, the inventory Service and vCenter Server with no problems (other than having to use OpenSSL-Win64 for vCenter certificate that I could not get the x 86 version certificate of work, makes no sense, but I'll take the small victory).

    If you follow the guide of vmware to replace the web service certificate, http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 2035010, I get to step 12, enter the VMware vSphere Client Web back to vCenter Single Sign On and the following error:

    ##########################

    D:\Program Files\VMware\Infrastructure\vSphereWebClient\SsoRegTool > regTool.cmd registerService - cert "C:\ProgramData\VMware\vSphere Web Client\ssl" - ls - url ( https://(Server URL): 7444/lookupservice/sdk - username admin@system-domain - password (password) - dir 'D:\Program Files\VMware\Infrastructure\vSphereWebClient\SsoRegTool\sso_conf' - ip "*." ' * ' - serviceId-file 'D:\Program Files\VMware\Infrastructure\vSphereWebClient\serviceId'

    No file properties not found
    Initialization of provider of record...
    SSL certificates for https://vsphere.au.ray.com:7444/lookupservice/sdk
    SSL certificates for https://vsphere.au.ray.com:7444 / sso-adminserver/sdk
    Unhandled exception trying to escape: null
    Return code is: OperationFailed
    100

    ##########################

    VMware technical support suggested I uninstall all components, delete all databases and try again. I have done this and have exactly the same result.

    Has anyone seen elsewhere or managed to solve?

    Chris

    So, I managed to solve this problem. Not sure that this applies to everyone, but my problem was caused by registering using among other names of the subject in the SSL certificate for the SSO rather than the common name of the certificate.

    For example, the server name is server1.company.com. It is the common name of the certificate. But one of SAN of the certificate has been "vSphere.company.com".  If I used this other name in one of the component records that they would fail. I found that I have to use the common name. Even if the alternative names of job access to via your browser web, there is no certificate warning, if the registration of components using these names, it would fail.

    It seems crazy that you can use any of the San... then why allow us to make?

    Initially, I tried to replace the authentication certificate ONLY when the town was called vsphere.company.com, rather than the hostname of the server, and which is installed. However, try to install the Web Client would fail. When you come to the step where you have to accept the certificate of SSO, the installation fails because the common name of the certificate does not have the host name of the SSO server. It seems insane to me... why the host name of the server running the SSO should still come in when all calls are over HTTPS is simply absurd!

    I confirmed this with VMware Technical Support and they checked my conclusions.

  • When I try to automate - fusion photo I get this error - which freezes my Mac and I have to force leave to use anything - 19 error: bad argument: invalid resource format. Error on line 0, the character offset 560, in ' {alignChildren: 'fill', text: ' $$$

    Error 19: Bad argument: invalid resource format. Error on line 0, the character offset 560, in ' {}alignChildren: 'fill', text: ' $$$ / AdobePlugin/Shared/Photomerge/process/Name = Photomerge', orientation: 'row', alignment: "fill."View1: Panel{"text: ' $$$ / AdobePlugin/Shared/Photomerge/Scr/layout = layout", direction: "column", alignment: ["fill", "fill"],View2: Group{orientation: "column", alignment: "fill."_LOauto: RadioButton {text: ' $$$ / AdobePlugin/shine/Photomerge/Scr/Auto = Auto ", alignment: 'left'"},view4: Image {image: "/Applications/Adobe%20Photoshop%20CS6/Presets/Scripts/Stack%20Scripts%20Only/P_AutoAlign _Automatic_87x38.png"}},view5: Group{orientation: "column", alignment: "fill."_LOperspective: RadioButton {text: ' $$$ / AdobePlugin/Shared/Photomerge/Scr/Perspective = Perspective', alignment: 'left'},Vision7: Image {image: "/Applications/Adobe%20Photoshop%20CS6/Presets/Scripts/Stack%20Scripts%20Only/P_AutoAlign _Perspective_87x38.png"}},view8: Group{orientation: "column", alignment: "fill."_LOcylindrical: RadioButton {text: ' $$$ / AdobePlugin/Shared/Photomerge/Scr/cylindrical cylindrical = ', alignment: 'left'},view10: Image {image: "/Applications/Adobe%20Photoshop%20CS6/Presets/Scripts/Stack%20Scripts%20Only/P_AutoAlign _Cylindrical_87x38.png"}},view11: Group{orientation: "column", alignment: "fill."_LOspherical: RadioButton {text: ' $$$ / AdobePlugin/Shared/Photomerge/Scr/spherical ball = ", alignment: 'left'"},view13: Image {image: ' /}

    Hi Donald,.

    Sorry for the inconvenience.

    This happens usually when the script does not have enough permissions to manage this.

    Please make sure that this folder applications, and two libraries have full read and write.

    Also if it happens again, please tell me if you use Bridge for example or directly with Photoshop.

    Thank you

    Jitendra

  • CFPDF GetInfo 'invalid date format. "

    We receive PDFs via a download function , we have incorporated and once the file is saved on our server perform us the following action

    <cfpdf action="getinfo"
          name="pdfInfoStc"
          source="#uploadResult.serverDirectory#/#uploadResult.serverFile#">
        
    

    This works very well if the PDF file has been made from an authentic source, but many times we receive files of low-end scanners or banks who are not save a created thus date the getinfo action fails with the message "invalid date format", which is logical that the date is not clearly However, it is not really acceptable that the getinfo process could not simply return a null value or empty string rather than throwing an error massive coldfusion?

    Running Coldfusion Enterprise version is 8,0,1,195765


    Has anyone ever encountered this bug / problem before and found a solution?

    Hello

    I have not used this tag, in surfing, I got this.

    Created

    D:20061121155226 - 05'00 '

    Creation date generated by the system of the PDF document. You can specify a string of text with the action of setInfo.

    We can define the created using this setInfo.

    PDF is to throw an error, you may catch the exception and using this setInfo, you can set the date of creation.

         
    
    
    
  • HPDM: HPDM replace self signed SSL certificates for server HDPM and master repository

    I am trying to replace the automatically generated self-signed certificates (issued to DM) issued by DM server HDPM and master repository.  I'm NOT arbitration FTPS, HTTPS embedded HPDM or CERT Thin Client Agent server.

    I already have CERT for the installation of our own internal domain CA for FTPS in IIS and the built-in Apache HTTPS server.  These work properly and pass tests of repository for both protocols.  I also have questions for Thin Clients of our internal CA very well.

    I am interested in the HPDM real server cert and cert master repository. These are generated automatically when the two services start.  They use a very weak MD5 hash and key RSA 1024.  I can't find any documentation around that, with the exception of troubleshooting, in which you can remove these certificates restart services and they will be regenerated.

    Here are the paths certs\key
    HPDM % install Path%\MasterRepositoryController\Controller.crt (Cert repository)

    HPDM % install Path%\MasterRepositoryController\Controller.key (repository key)

    HPDM % install Path%\MasterRepositoryController\Client.crt (HPDM Server Cert)

    HPDM % install Path%\Server\Bin\hpdmskey.keystore (Both HPDM server and repository Certs and keys) (not sure what format it is in.  It is not PEM and P12 ok I can say)

    There are also some HPDM % install Path%\Server\bin\hpdmcert.key.  Don't know what it is.  It's the key to the server HPDM but deleting it does nothing and it is never re auto generated in one of my tests.

    I am able to replace the Controller.crt and keys with my own files CA internal those emitted very well.  The service started and no errors occur.  However if I replace the Client.cert (HPDM Server Cert) with my own service will start but there are Socket SSL errors in repository logs and the HPDM server could not connect to the master repository. I have no idea where the key file is supposed to be for HPDM Server Cert.

    Can anyone help with this?  I can't find the configuration files for the service to generate their own certificates.  If I did I would try at least to change the config to do not use MD5.

    Hello

    These certiricates between HPDM server and MRC are not designed for customizable. Please submite one scenario if you have concerns of security on it.

    Just for info:

    hpdmcert. Key is for communication between the server HPDM and gateway HPDM

    hpdmskey.keystore is for communication between the server HPDM and MRC

    server_keystore is for the commhucation between HPDM server and the Console HPDM

  • Trying to follow KB: 2118939 - replace the Service SSL certificate research on a platform of Services controller 6.0 - ls_update_certs.py - FAILURE

    EDIT: Posted KB poorly in the subject line and below (KB fixed the link shown below, was not able to change the field of the object above).

    I try to follow KB 2109074 - VMware KB: vCenter server certificate validation error or a service platform for the VMware Solutions external... controller

    My steps relate to the 2 k linked to in the main article: 2109074

    Everything went very well in order to run the final order as get the old footprint certificate, obtain the new certificate file, etc..

    When you try to run the actual command in Windows (tmore successful version that it the command I am running as follows):


    "C:\Program Files\VMware\vCenter Server\python\python.exe" ls_update_certs.py - url https://vcenter.domain.local/lookupservice/sdk -fingerprints b1:35:c1:9 c: a5:59:dd:ab:3d:c2:50:e7:92:79:82:f0:b6:85:7 d: c8 - FichierCert C:\certificates\ [email protected]' user password ' Passw0rd & '

    BTW, the VMware KB says:

    "Note: on Windows systems, place the password in double quotes."

    I have this error is (fgarlic on get-site-id):

    ----------------------------------------------------------------------------------------------------------

    Traceback (most recent call changed):

    File "ls_update_certs.py", line 19, < module >

    args. Password)

    File "C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\s

    cripts\lstoolutil.py', line 79, modify_svc_ep_certs

    raise exception ("'get-site-id lstool' failed: %d"% rc ')

    Exception: "lstool get-site-id" failed: 1

    ----------------------------------------------------------------------------------------------------------

    I tried this on 2 different vCenter servers (both 6.0u2) and get the same behavior, I have tried every combo of passwords for the PSC/SSO as Passw0rd.   Pass-w0rd P@ssw0rd W34df * fdc4... etc and tried with or without quotes (2 citations, 4 citations), tried bash escape after the password like:-... and nothing works. I do not know if it is a problem of password. A few lines above I see things showing this:

    ----------------------------------------------------------------------------------------------------------

    Caused by: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Sserver certificate chain not verified

    Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates (SSLSessionImpl.jagoes: 421) to com.vmware.vim.vmomi.client.http.impl.ThumbprintTrustManager$ Hostname Verifier.verify (ThumbprintTrustManager.java:296)

    ----------------------------------------------------------------------------------------------------------

    However, I can run this command (which does not require a password) successfully:

    "C:\Program Files\VMware\vCenter Server\python\python.exe" 'C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\scripts\lstool.py' get-site-id - url https://vcenter.domain.local/lookupservice/sdk" " " " "

    .. It works very well and shows the SSO sso-site-default name.

    Has he's other aspects of the signed certificate installation succeeded except the Search Service of that is causing my NSX Manager install to connect do not back up the Search Service...


    I also get the error on the Web Client showing this:

    "Error during processing of the application. Check logs WebClient vSphere for more details".     (Refer to KB: https://kb.vmware.com/kb/2129053 ) ).. .caused by the same issue as well:



    Anyone see this problem or knows anyway possible to recover from it without having to re - install? How to debug the .py scripts better? Is there a better documentation of VMware on the operation of these scripts? If the Search Service can be re-installed?


    Any help is greatly appreciated!

    Ahhhh-hah... I found the problem.

    If I manually run the command:

    ""C:\Program Files\VMware\vCenter Server\python\python.exe"'C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\scripts\lstool.py' list - url https://vcenter.domain.local/lookupservice/sdk"

    Can I get good output... The command works great.

    But just as a hunch, I had to check something, I decided to see what happens when I run the same command with the '-non-cocher-cert' put it as as follows:

    ""C:\Program Files\VMware\vCenter Server\python\python.exe"'C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\scripts\lstool.py' list - no-check-cert - url https://vcenter.domain.local/lookupservice/sdk"

    .. .and guess what? I got the SAME java error as in all the other scripts: "peer not authenticated."

    So I went to the folder of scripts for VMware lstool (C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\scripts\): open lstool.py with Notepad and see that he simply calls another script in the same folder called: lstoolutil.py

    I then opened that lstoolutil.py script in Notepad and did a search for the string:-non-cocher-cert... .and there has been 5 cases where different commands called this switch. I have placed in the comment (#) 5 lines composing this switch, saved the file and re-run the original script: ls_update_certs.py... .and WHAH-LABRIQUE Hooray!

    Line 52: # "-non-cocher-cert."

    Line 74: # "-non-cocher-cert."

    Line 85: # "-non-cocher-cert."

    Line 121: # "-non-cocher-cert."

    Line 139: # "-non-cocher-cert."

    "Then just to check I relaunch:"C:\Program Files\VMware\vCenter Server\python\python.exe"'C:\Program Files\VMware\vCenter Server\VMware identity Services\lstool\scripts\lstool.py' list - url https://vcenter.domain.local/lookupservice/sdk"

    .. and can confirm that all records of service have the field "SSL trust" with the new certificate key.

    Problem solved... That just leaves one a review to follow in case they encounter the same problem...

  • 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.

  • Replacement of the SSL certificate in vCenter Server Heartbeat with a new certificate

    Realized the SSL certificates on my vsphere vCenter Server 5.5 environment change, but now I'm looking to deploy vmware vCenter Server HeartBeat service, but I have the following doubts.

    1. it is necessary to perform the exchange of currently used SSL certificate in my environment. ()http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2013041( )

    KB article talking about amendment of the certificate of a vCenter Server Heartbeat deployed... If the vCSHB are not deployed and yet, you don't need to worry... just go ahead with the installation and the new vCenter server certificate will be recognized by vCSHB.

  • 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!

  • 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

  • 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.

  • 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

  • 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.

  • Replacement of the SSL Cert - 5/vCenter vCenter Inventory Service

    Running on this issue during our next generation vCenter infrastructure 5 out.  I was wondering if someone else ran into the front.

    We create certificates signed internally and use these certificates to the virtual service centre and the inventory service.  I stop the vCenter service, replace the vCenter CERT, reset the DB password and then start the vCenter service.  Works very well and am able to connect to vCenter, but when I go to start the inventory (CERT for untouchables inventory service) service fails.  I worked with this in our lab, and he the certs could be replaced separated from another.  All ideas are welcome.

    Thank you

    When generate you your own pfx, what was the password?

    It must be "testpassword".

      openssl pkcs12 -export -in ./certs/rui.crt -inkey ./private/rui.key -name rui -passout pass:testpassword -out ./certs/rui.pfx
    

    If this is not the case, the inventory service does not start.

  • Invalid alias Format: Table_name. Required column_name

    Hi all

    I'm new to OBIEE 11 g and I'm trying to get used to the many it in one shot. I was hoping that someone could help me to answer this question.

    I am trying to replace a value in the database and replace it with a different value if a condition is met. I use below the SQL to get there, however, when I select ok I get an error message: Invalid Format Alias: Table_name. Column_name required.

    Can someone tell me how I can accomplish my taskl? I am currently using OBIEE 11 g and I am changing the measure of the column by changing the formula with the code below. Let me know. Thank you.



    Select
    CASE
    "WHEN the claim Cmplt - deal Time.Claim Date < 10/30/2010 AND October 30, 2010"
    END
    A claim Cmplt - treat Time.Claim Date;

    Oh... the problem is with
    Cmplt claim - process Time.Claim Date it suppose to be like
    "Cmplt claim - execution time. "" Claim date. "

    The condition below is good to use too
    -case when 'Cmplt claim - time process. "" Claim date. "

    Pls mark as correct/good

Maybe you are looking for