- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- HPE Servers encryption configuration using RestAPI
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
Forums
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
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
04-15-2021 03:31 AM - edited 04-16-2021 05:28 AM
04-15-2021 03:31 AM - edited 04-16-2021 05:28 AM
HPE Servers encryption configuration using RestAPI
As requested in does anyone have the method to update encryption setting on HPE Servers. Gen9/Gen10 etc. I have been searching all of HPE documentations and ended up with nothing
Tried below payload as per my assumption but it didn't work either. Please help.
import requests
url = "https://<IP>/redfish/v1/Systems/1/SmartStorageConfig/Settings"
payload="{
"EncryptionConfiguration": [
{
"CryptoOfficerPassword": "xxxxxxxxxx",
"CryptoOfficerRecoveryQuestion": "xxxxxxxxxxxxx",
"CryptoOfficerRecoveryAnswer": "xxxxxxxxxxxxxx",
"MasterKey": "xxxxxxxxx"
}
],
"EncryptionEULA": "Accept",
"DataGuard": "Disabled"
}"
headers = {
'Authorization': 'Basic xxxxxxxxxxxxxxxx',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2021 11:12 PM
05-03-2021 11:12 PM
Re: HPE Servers encryption configuration using RestAPI
Hi,
Were you able to get it going?
I found this link, will this help?
https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html
Thank You!
https://support.hpe.com/hpesc/public/home
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
