Search the VMware Knowledge Base (KB)
View by Article ID

VMware vCenter Server 5.1/5.5 fails to start after re-registering with vCenter Single Sign-On (2048753)

  • 16 Ratings
Language Editions

Symptoms

  • vCenter Server fails to start after re-registering it to vCenter Single Sign-On (SSO)
  • In the vpxd.log file, you see entries similar to:|

    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] Solution user set to: vCenterServer_2013.03.27_210053
    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] VC's ServiceId in LookupService: {52C8F9B0-4119-4FA4-813D-8ECB5854AA58}:20
    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] STS URI set to: https://vmware-vcenter.imstt2.lan:7444/ims/STSService
    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] Admin URI set to: https://vmware-vcenter.imstt2.lan:7444/sso-adminserver/sdk
    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] Groupcheck URI set to: https://vmware-vcenter.imstt2.lan:7444 /sso-adminserver/sdk
    -04-04T16:10:21.832+13:00 [01608 info '[SSO][SsoFactory_CreateFacade]'] VC SSL certificate location: C:\ProgramData\VMware\VMware VirtualCenter\ssl\rui.crt
    -04-04T16:10:21.832+13:00 [01608 error 'ssossoCertificate'] [SSO][SsoCertificate_LoadSsoSolutionUser] Failed to read private key: Crypto Exception: error:02001
    02:system library:fopen:No such file or directory:unable to load null. File path: null
    -04-04T16:10:21.832+13:00 [01608 error '[SSO][SsoFactory_CreateFacade]'] SSO/VC private key, certificate not found
    -04-04T16:10:21.832+13:00 [01608 error 'vpxdvpxdMain'] [Vpxd::ServerApp::Init] Init failed: Vpx::Common::Sso::SsoFactory_CreateFacade(sslContext, ssoFacadeCons
    Ptr)
    --> Backtrace:
    --> backtrace[10] rip 0000000140a89b22
    --> backtrace[11] rip 0000000076cc652d
    --> backtrace[12] rip 0000000076efc521
    -->
    2013-04-04T16:10:21.832+13:00 [01608 warning 'VpxProfiler'] ServerApp::Init [TotalTime] took 6646 ms
    2013-04-04T16:10:21.832+13:00 [01608 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...
    2013-04-04T16:10:21.848+13:00 [01608 info 'vpxdvpxdSupportManager'] Wrote uptime information

    OR

    error 'ssossoCertificate'] [SSO][SsoCertificate_LoadSsoSolutionUser] Failed to read private key at null because of: class Vmacore::Crypto::CryptoException(Crypto Exception: error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table:unable to load null)

Cause

This issue occurs if the certificate and private key value are defined as null in the vpxd.cfg file.

Resolution

To resolve this issue, check what files are in the e C:\ProgramData\VMware\VMware VirtualCenter\ssl directory and change their entries.

To check what files are in the C:\ProgramData\VMware\VMware VirtualCenter\ssl directory and change their entries:
  1. Back up the vpxd.cfg file located at C:\ProgramData\VMware\VMware VirtualCenter.
  2. Open the vpxd.cfg file using a text editor.
  3. Locate the <certificate> and <privateKey> entries within the file.

    The entries appear similar to:

    <certificate>null</certificate>
    <privateKey>null</privateKey>


  4. Check which files are present in the C:\ProgramData\VMware\VMware VirtualCenter\ssl directory. For example, if the sso.crt and sso.key files are present in this directory, change the entries to:

    <certificate>C:\ProgramData\VMware\VMware VirtualCenter\ssl\sso.crt</certificate>
    <privateKey>C:\ProgramData\VMware\VMware VirtualCenter\ssl\sso.key</privateKey>


    If the rui.crt and rui.key files are present in the C:\ProgramData\VMware\VMware VirtualCenter\ssl directory, change the entries to:

    <certificate>C:\ProgramData\VMware\VMware VirtualCenter\ssl\rui.crt</certificate>
    <privateKey>C:\ProgramData\VMware\VMware VirtualCenter\ssl\rui.key</privateKey>


  5. Save and close the vpxd.cfg file.
  6. Start the VMware VirtualCenter Server service.

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

See Also

Language Editions

ja,2147820;zh_cn,2148098

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 16 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 16 Ratings
Actions
KB: