#Generate certificate csr with rest API
1 messages · Page 1 of 1 (latest)
the example doesn't have it. did you try editing the common name to add the fields you want?
this generated for me, and state and other attributes showed when decoding the CSR (uri and email should be optional if you want to remove them):
"algorithm": "rsa",
"extended_key_usages": [
"serverauth"
],
"hash_function": "sha256",
"key_usages": [
"digitalsignature"
],
"security_strength": 112,
"subject_alternatives": {
"dns": [
"dawnr-cl.amer-oc.local"
],
"email": [
"abc@example.com"
],
"ip": [
"10.225.34.10"
],
"uri": [
"http://example.com"
]
},
"subject_name": "C=US,ST=North Carolina,L=RTP,O=NetApp,OU=IT,CN=dawnr-cl.amer-oc.local"
}```
Thanks will give this a try