- Community Home
- >
- Software
- >
- HPE OneView
- >
- Unable to connect to OneView using PowerShell Conn...
-
- Forums
-
- 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, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
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
-
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
- Email to a Friend
- Report Inappropriate Content
07-23-2014 07:32 AM
07-23-2014 07:32 AM
Unable to connect to OneView using PowerShell Connect-HPOVMgmt due to certificate is invalid
I want to import rack servers to OneView using PowerShell New-HPOVServer.
First, I must connect to OneView appliance, right?
I used command Connect-HPOVmgmt hponeview.mydomain.local -User Administrator -password MyPassword.
I have got this error about certificate error:
cmdlet Connect-HPOVMgmt at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
User: Administrator
Send-HPOVRequest : The remote certificate is invalid according to the validation procedure.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\HPOneView\HPOneView.psm1:1137 char:35
+ $script:MaxXAPIVersion = (Send-HPOVRequest $script:applXApiVersion).curr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Send-HPOVRequest
Password: ************
Send-HPOVRequest : The remote certificate is invalid according to the validation procedure.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\HPOneView\HPOneView.psm1:1158 char:21
+ $resp = Send-HPOVRequest $script:loginSessionsUri POST $authinfo
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Send-HPOVRequest
Can someone help me please?
I'm Happy when You're Happy
- Tags:
- certificate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-23-2014 10:35 AM - edited 07-23-2014 10:36 AM
07-23-2014 10:35 AM - edited 07-23-2014 10:36 AM
Re: Unable to connect to OneView using PowerShell Connect-HPOVMgmt due to certificate is invalid
The library uses Windows to validate the certificate from the appliance. As long as the Hostname you are passing via Connect-HPOVMgmt matches the hostname of the appliance (or any Server Alternate Name, i.e. IP Address or FQDN), the validation will pass and the command will process.
However, if you have your appliane behind a firewall where the hostname or IP Address doesn't match the appliance certificate, validation will fail. Can you describe in more detail how your appliance is setup and how you are accessing it from your PC?
Also, you can post issues or questions on the Discussions or Issues section of the CodePlex site where the library is located instead of these forums.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-25-2015 08:00 AM
06-25-2015 08:00 AM
Re: Unable to connect to OneView using PowerShell Connect-HPOVMgmt due to certificate is invalid
ever got this to work? running into the same issue.... i tried ip and dns....
i'm trying to schedule routine backups via powershell since theres no automated way of doing it within the appliance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-25-2015 08:59 AM - edited 06-25-2015 08:59 AM
06-25-2015 08:59 AM - edited 06-25-2015 08:59 AM
Re: Unable to connect to OneView using PowerShell Connect-HPOVMgmt due to certificate is invalid
If you are using the current 1.20.0124 library, there is a known bug (see Issue Tracker Bug ID 25 for more details) and am planning to release an update later this evening.
I am an HPE employee
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP