For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

MauroNunes's avatar
MauroNunes
Icon for Altostratus rankAltostratus
Nov 22, 2019
Solved

How retrieve CSR (format PEM) via REST v14.0.0.1

Hi everyone,

It's that possible get the CSR via REST?

With SOAP "certificate_request_export_to_pem" it's possible get the CSR from F5.

 

With REST, we can only check the contents and the location in sourcePath.

Can you help?

 

 

7 Replies

  • There is no native rest call to get this from my understanding,,, you can instead call the tmsh command and run it,

    curl -sk -u 'username:password' -H "Content-Type: application/json" -X POST https://hostname/mgmt/tm/util/bash -d "{\"command\":\"run\",\"utilCmdArgs\":\"-c 'tmsh list sys crypto csr example.csr'\"}"

    Hope this helps.