- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: Unable to connect to OneView using PowerShell ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
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
- 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
- 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
- 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