- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: Connect-OVMgmt : Unable to connect to applianc...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 09:37 PM
08-12-2020 09:37 PM
Hi guys
Just attempted logging in today via powershell module version 5.30. Receieved the following error:
Connect-OVMgmt : Unable to connect to x.y.z appliance. The certificate is not trusted due to these
X509CertChain flags: PartialChain
Please refer to https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509chainst
atusflags?view=netframework-4.6 for more information.
At line:1 char:1
+ Connect-OVMgmt
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Hostname:String) [Connect-OVMgmt], ApplianceTransportException
+ FullyQualifiedErrorId : HostnameAndCertDoNotMatch,Connect-OVMgmt
I used be be able to connect (last week) - any ideas?
Windows updates is hunch perhaps...
Cheers
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 07:56 AM
08-13-2020 07:56 AM
Re: Connect-OVMgmt : Unable to connect to appliance. The certificate is not trusted....
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 07:34 PM - edited 08-13-2020 07:35 PM
08-13-2020 07:34 PM - edited 08-13-2020 07:35 PM
Re: Connect-OVMgmt : Unable to connect to appliance. The certificate is not trusted....
Not that I'm aware of.
I've just connected successfully from a Windows server OS - (that has not recently had a feature update applied).
So I'm only getting this issue from my 2 Win 10 machines that have recently recived the version 2004 update . - Perhaps I need to find a machine that hasn't been patched to confirm.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 07:41 PM - edited 08-13-2020 07:41 PM
08-13-2020 07:41 PM - edited 08-13-2020 07:41 PM
SolutionI don't think it was caused by the 2004 update. My dev PC is 2004, and I cannot reproduce the issue you reported. Besides, there have been no changes to PowerShell 5.1. All PowerShell development from Microsoft has been with Core editions. One thing you can do is use the Get-OVCommandTrace Cmdlet to view extended verbose output, that would include the .Net Class library used to validate certificates and their chain. That might give you a clue about what is going on further. You could also use OpenSsl to dump the cert using the s_client connect command.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]