1 Reply Latest reply on Apr 6, 2020 6:38 AM by daphnissov

    HELP - VCSA error on vsphere-ui startup

    mizio79 Lurker

      Hello,

       

      We've a problem on startup of vsphere-client and vsphere-ui services (VCSA 6.5) with the message below on stderror.log:

       

      Exception in thread "WrapperSimpleAppMain" java.lang.RuntimeException: Error when writing to the jks-based keystore - /etc/vmware/vsphere-ui/keystore.jks

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.writeKeystoreToFile(TanukiWrapperEx.java:177)

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.loadKeystore(TanukiWrapperEx.java:121)

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.runCustomAction(TanukiWrapperEx.java:103)

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.run(TanukiWrapperEx.java:91)

              at java.lang.Thread.run(Thread.java:748)

      Caused by: java.lang.RuntimeException: Failed to copy certificate/key from vecs keystore to jks-based keystore.

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.populateJksKeystore(TanukiWrapperEx.java:206)

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.writeKeystoreToFile(TanukiWrapperEx.java:169)

              ... 4 more

      Caused by: java.security.KeyStoreException: Cannot store non-PrivateKeys

              at sun.security.provider.JavaKeyStore.engineSetKeyEntry(JavaKeyStore.java:258)

              at sun.security.provider.JavaKeyStore$JKS.engineSetKeyEntry(JavaKeyStore.java:56)

              at sun.security.provider.KeyStoreDelegator.engineSetKeyEntry(KeyStoreDelegator.java:117)

              at sun.security.provider.JavaKeyStore$DualFormatJKS.engineSetKeyEntry(JavaKeyStore.java:70)

              at java.security.KeyStore.setKeyEntry(KeyStore.java:1140)

              at com.vmware.vise.vim.commons.tanuki.TanukiWrapperEx.populateJksKeystore(TanukiWrapperEx.java:197)

              ... 5 more

       

       

      Accessing from browser we have the error: "503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fb6f803bc50] _serverNamespace = /ui action = Allow _port = 5090)"

       

      I haven't found kb or articles about this problem.

       

      I need help pls.

       

      Regards.