본문 바로가기
VMware

PowerCLI 접속 인증 문제

by 도경다경 2023. 8. 9.
반응형

PowerCLI 접속 시 다음과 같이 메세지가 발생하면서 명령어 실행이 안되는 이슈가 있다.

아래 설명과 같이 커맨드를 실행하면 인증 관련 문제를 무시하도록 설정할 수 있다.

참고로 PowerCLI 6.5 버전에서 vCenter 7.3 버전으로 접속 및 실행이 가능하다.(에러는 뜨지만)

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.

As stated in the error, the Set-PowerCLIConfiguration command can be used to ignore the certificate check using the following syntax:

1
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

After this command you’re able to connect to the vCenter without the certificate error.

반응형

댓글