lamw / lamw/vmware-scripts

Could not establish trust relationship error get-vsanversion

Open
#82 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
951
Forks
504
PR merge metrics
No merged PRs in 30d

Description

Hey William, when running the Get-VSANVersion function I'm getting the error below. I checked to make sure the PowerCli Config was set to Ignore for InvalidCertificateAction. Is this something you've seen before?

$results = $vchs.VsanVcClusterQueryVerifyHealthSystemVersions($cluster_view)

Exception calling "VsanVcClusterQueryVerifyHealthSystemVersions" with "1" argument(s): "Could not establish trust
relationship for the SSL/TLS secure channel with authority 'VC_NAME'."
At line:1 char:1

  • $results = $vchs.VsanVcClusterQueryVerifyHealthSystemVersions($cluste ...
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : SecurityNegotiationException

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Get-VSANVersion entry point and reproduce the VsanVcClusterQueryVerifyHealthSystemVersions call shown in the issue. Check how the configured InvalidCertificateAction relates to this SSL/TLS trust error; done means identifying the cause and documenting or resolving the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.