I can connect oto vcenter but when i manually connect to srm server even with administrator@vsphere.local creds
gettting this
Did you set PowerCLI to ignore an invalid certificate?
Check with Get-PowerCLIConfiguration.
Is there a valid certificate for SRM server?
Try running the following before doing the Connect-SrmServer
[System.Net.SecurityProtocolType]::Tls11,
[System.Net.SecurityProtocolType]::Tls12
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
i tried
same error
Your InvalidCertificateAction says 'Unset', not 'Ignore'
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
you caught it. Thanks.
DO i need to set this in my profile everytime I open powershell_ise?
No, it is kept in an .xml by PowerCLI.
Just make sure you do the setting in the correct Scope.
There are 3: Session, User and All Users.
You want to set it in User or All Users to make it permanent
If a lower scope doesn't have a setting, i.e. Unset, it inherits the setting of the higher scope
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference