- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: Connect-HPOVMgmt - certificate error
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
06-22-2015 12:28 PM
06-22-2015 12:28 PM
Connect-HPOVMgmt - certificate error
Hi,
When trying to run this cmdlet :
HPOneView.120\Connect-HPOVMgmt -appliance hostname.com -User Admin -password mypasswordhere
I get the following error :
Send-HPOVRequest : The remote certificate is invalid according to the validation procedure.
At C:\Users\myuser\Documents\WindowsPowerShell\Modules\HPOneView.120\HPOneView.120.psm1:2219 char:38
+ $applianceVersion = (Send-HPOVRequest $script:applXApiVersion).c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Send-HPOVRequest
Send-HPOVRequest : The remote certificate is invalid according to the validation procedure.
At C:\Users\myuser\Documents\WindowsPowerShell\Modules\HPOneView.120\HPOneView.120.psm1:2255 char:21
+ $resp = Send-HPOVRequest $script:loginSessionsUri POST $authinfo
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Send-HPOVRequest
and then this:
[HPONEVIEW]: [Not Connected] PS C:\Users\myuser>
The firewall team checked and they can see the connection going thru and being made (ports 52018 and 52019). I have tried with my ldap credentials and the local admin account, as well as FQDN and IP. All failed. I can log in to the gui just fine. And the "[NOT Connected]" part of the prompt is true, other commands run from there fail because of a lack of connection. Also I found the other thread on this, there was no answer given because OP never responded.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2015 09:21 AM
06-23-2015 09:21 AM
Re: Connect-HPOVMgmt - certificate error
I have posted a new issue on the HP Oneview PowerShell GitHub issue tracker. This is a bug that was found late last night. During testing, we never encountered the issue, but found out that the testing environment was using CA signed certificates, which would never fail SSL Certificate Validation. To work around this, use the Import-HPOVSslCertificate cmdlet to add the self-signed certificate to the trusted roots store on your system. A fix has been created, but will be released after additional testing is performed. Please feel free to add more data or other comments to the Issues Tracker item.
I am an HPE employee
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP