Posts

Showing posts with the label PSC/SSL troubleshooting

Handy Command and Articles to troubleshoot PSC and Certificate related query in vCenter

List of commands: To find the PNID: /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost "C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli.exe" get-pnid --server-name localhost Which PSC is my VC pointing to: /usr/lib/vmware-vmafd/bin/vmafd-cli get-ls-location --server-name localhost C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli get-ls-location --server-name localhost Get the site name where my PSC/VC is: /usr/lib/vmware-vmafd/bin/vmafd-cli get-site-name --server-name localhost C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli get-site-name  --server-name localhost SSO Domain name: /etc/vmware/install-defaults/vmdir.domain-name C:\ProgramData\VMware\vCenterServer\cfg\install-defaults\vmdir.domain-name Certificate Manager Location : Windows vCenter Server:  C:\Program Files\VMware\vCenter Server\vmcad\certificate-manager vCenter Serve...

Manually Replacing the solution user certificate on VCSA/PSC 6.x

Manually Replacing the solution user certificate on VCSA/PSC 6.x Note : -- Take a snapshot of the VC or PSC before proceeding. --  PSC has two solution users : machine and vsphere-webclient. -- VC has four solution users : machine, vpxd, vpxd-extension and vsphere-webclient. -- VC with embedded PSC has four solution users : machine, vpxd, vpxd-extension and vsphere-webclient. -- SSO admin username and password would vary depending on the configuration. -- Windows Install directory may vary depending on your installation.  -- Run the below command to get the machine ID of the node : Appliance :   /usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost Windows : "%VMWARE_CIS_HOME%"\vmafdd\vmafd-cli get-machine-id --server-name localhost 0. Take a backup of the old solution user certificates and its private keys. Appliance : /usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store machine --alias machine...