VMware vSphere

 View Only
  • 1.  Can not replace ssl on Vcenter

    Posted May 30, 2023 06:15 AM
      |   view attached

    Hi everyone

    I have Vcenter 7.0.3.00700 and want to replace SSL ، I generated CSR from Vcenter. After I got a new certificate from Replace Vcenter server certificate section I chose "Replace with external CA certificate where CSR is generated from vCenter Server (private key embedded)" and after importing SSL and chain trust, I faced an error. I attached the picture, please help me.

    Thanks

     



  • 2.  RE: Can not replace ssl on Vcenter

    Posted May 30, 2023 08:53 AM

    Please check if the PNID value is mismatch. It could be one of the reason for the cert fail

    to check the current value:

    /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost

    to update the value:

    /usr/lib/vmware-vmafd/bin/vmafd-cli set-pnid --server-name localhost --pnid <pnid>



  • 3.  RE: Can not replace ssl on Vcenter

    Posted May 30, 2023 09:17 AM

     

    Hi again,

    They are the same and there is no mismatch.



  • 4.  RE: Can not replace ssl on Vcenter

    Posted May 30, 2023 12:15 PM

    I ran your command and after that, the error changed.

    The new error is "Error occurred while fetching tls: the trustAnchors parameter must be non-empty"

     



  • 5.  RE: Can not replace ssl on Vcenter



  • 6.  RE: Can not replace ssl on Vcenter

    Posted May 31, 2023 06:52 AM

    Hi  

    Is it applies to me, who uses an External certification authority? 



  • 7.  RE: Can not replace ssl on Vcenter

    Posted Jun 02, 2023 11:04 AM

    Im using external CA.

    But im doing that with -->

    /usr/lib/vmware-vmca/bin/certificate-manager

    More transaparent than the GUI

    1 -> Enter (Replace Machine SSL certificate with Custom Certificate)

    Benutzname -> Enter

    Passwort -> Enter

    1 -> Enter (Generate Certificate Signing Request(s) and Key(s) for Machine SSL certificate

    cheers



  • 8.  RE: Can not replace ssl on Vcenter

    Posted Jun 03, 2023 08:15 AM

    Yes, it will apply who is using external CA. You can also check if CSR not generated through vCenter. Some public CAs  also generate private key along with certificate and the chain. 



  • 9.  RE: Can not replace ssl on Vcenter

    Posted May 31, 2023 06:34 AM

    Hello,

    This error can occur due to the algorithm used to sign the CSR using SHA1 which is not supported..

    More Details : https://kb.vmware.com/s/article/2112277?lang=en_us

     

    Regards

    Harry