Using Redfish API Powershell to generate CSR and renew web cert. Subject
Alternative names not populating
Hello,
I am trying to add multiple subject alternative names (also shown as DNS names in the cert itself). The API guide (link below) is stating to create a String Array but this is not working. Not sure where i am going wrong, any help appreciated.
Below shows i have created a string array but when i renew the cert, it only ever populates the first entry of that string
Have tried this as well but find that when pushing multiple values it will only take the first value. For DELL-Chris H payload it will be seen that only idrac-svctag is added as a alternative name. The idrac-svctag.domain.com alternative name is missed This can be seen by using postman:
And then in the outputted CSR request we can see that not all SAN's are added
The way to fix this is by pushing all subject altenativenames as one string within the array as follows:
"AlternativeNames": [
"{{iDRAC-IP1}},idrac01.example.com,idrac01"
]
Then checking this in the CSR request we can see all SAN's are added
hawker91
1 Rookie
•
15 Posts
805
0
Posted March 9th, 2022 03:00
Apologies, this is for iDRAC 9, poweredge R740.