1 Rookie
•
18 Posts
0
781
October 12th, 2021 06:00
iDrac API request CSR
Hello,
im just trying to create CSR request via API on iDrac 9 but need some guidance here
using the following API
/redfish/v1/CertificateService/Actions/CertificateService.GenerateCSR
with the body:
{
"CertificateCollection" :
{
"@odata.id" : ""
},
"City" : "City" ,
"CommonName" : "cname" ,
"Country" : "US" ,
"Organization" : "company" ,
"OrganizationalUnit" : "IT" ,
"State" : "State"
}
no idea what should be @odata.id value - documentation is not very clear about this
thx
No Events found!
DELL-Shine K
4 Operator
•
3K Posts
1
October 12th, 2021 06:00
Can you try with below data
mtalas
1 Rookie
•
18 Posts
0
October 12th, 2021 07:00
great that helped - only one correction - the ending "/" should be removed from this string
"CertificateCollection":"/redfish/v1/Managers/iDRAC.Embedded.1/NetworkProtocol/HTTPS/Certificates/"