Forum Discussion
Chris_07_140190
Nimbostratus
Oct 16, 2015Generate CSR via API
We have successfully made a call to the iControl REST API to create a key using /sys/crypto/key, and even though we're specifying 'gen-csr', it is not obvious how we actually obtain the CSR.
Using TMSH on the command line, it appears that the CSR is just printed out. But via the API, we don't get anything about the CSR in the response.
There must be a way to access it?
2 Replies
- Kevin_Stewart
Employee
Try this:
tmsh create sys crypto key test.key gen-csr common-name test && tmsh list sys crypto csr test.csrYou can then pipe that output to a file.
- R_Marc
Nimbostratus
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects