Generate private key w/ CSR via iControl REST
Problem this snippet solves: Generate a private key w/ CSR How to use this snippet: To create a private key with a CSR via iControl REST: POST URL: https://10.1.1.165/mgmt/tm/sys/crypto/key ...
Published Aug 13, 2019
Version 1.0G-Rob
Employee
Joined May 16, 2019
G-Rob
Employee
Joined May 16, 2019
Muhammad_Rafi
Oct 10, 2021Nimbostratus
Here is the pay payload and URI for the CSR generations
https://{{bigip}}/mgmt/tm/sys/crypto/csr
Please note, you need to have key generated before prior to create the CSR.
{
"name": "www.example.com",
"commonName": "www.example.com",
"partition":"TENANT_2",
"key": "www.example.com.key",
"organization": "Cutomer4",
"ou": "Engineering",
"city": "London",
"state_or_province_name": "England",
"country": "UK",
"email-address": "customer4@example2.com"
}