-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ad9dc3
commit 0dc8746
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Frequently Asked Questions | ||
========================== | ||
|
||
**1. I am receiving an error when using Connect-VIServer as below** | ||
|
||
:: | ||
|
||
WARNING: 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. | ||
connect-viserver : 10/17/16 3:00:15 PM Connect-VIServer An error occurred while sending the request. | ||
At line:1 char:1 | ||
connect-viserver 10.192.116.20 -User administrator@vsphere.local -Pas ... | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
CategoryInfo : NotSpecified: (:) [Connect-VIServer], ViError | ||
FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_Exception,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer | ||
|
||
This error is because the certificate on your vCenter server is not trusted by the machine you are making the connection from. | ||
|
||
To fix this issue, replace the certificate chain on your machine or use the Set-PowerCLIConfiguration cmdlet to ignore certificate issues as below: | ||
|
||
:: | ||
|
||
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore |