User Tools

Site Tools


vmware:powercli_ignore_invalid_certificate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vmware:powercli_ignore_invalid_certificate [2019/02/25 13:55]
admin created
vmware:powercli_ignore_invalid_certificate [2019/02/25 14:08] (current)
admin
Line 3: Line 3:
 When trying to connect with PowerCLI to a vCenter Server Appliance the following error occurred: When trying to connect with PowerCLI to a vCenter Server Appliance the following error occurred:
  
 +{{ :​vmware:​powercli1.png?​direct&​800|}}
 +
 +//​Connect-vIServer : 18-7-2018 13:20:10 Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option to Prompt if you’d like to connect once or to add a permanent exception for this server.//
  
-<code bash> 
-Connect-vIServer : 18-7-2018 13:20:10 Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option to Prompt if you’d like to connect once or to add a permanent exception for this server. 
-</​code>​ 
  
 As stated in the error, the Set-PowerCLIConfiguration command can be used to ignore the certificate check using the following syntax: As stated in the error, the Set-PowerCLIConfiguration command can be used to ignore the certificate check using the following syntax:
Line 15: Line 15:
  
 After this command you’re able to connect to the vCenter without the certificate error. After this command you’re able to connect to the vCenter without the certificate error.
 +{{ :​vmware:​powercli2.png?​direct&​800 |}}
  
  
  
vmware/powercli_ignore_invalid_certificate.1551099350.txt.gz · Last modified: 2019/02/25 13:55 by admin