If you use the default VMware Certificate Authority (VMCA) came with vSphere 6 (see this about VMCA) , you will receive the untrusted certificate warning when connecting to vCenter via vSphere Web Client.
You can download and import the VMCA root certificate into your browser to fix the warning. Here is how.
-
Browser to your VCSA home page
-
Click “Download trusted root CA certificates” on the lower right
-
Rename the file “download” to “download.zip”
-
Unzip “download.zip”
“filename.r0” is the Certificate Revocation List (CRL) in DER format
“filename.0” is the root CA certificate in PEM format. -
Import the .0 file to your browser’s “Trusted Root Certification Authorities” in IE or Advanced, View Certificates, Authorities in Firefox.