Forum Discussion
Zdenek
Apr 24, 2024Cirrus
Just few days ago I saw some example somebody imported PFX via API, but we do it the way that we firstly reformat PFX to PEM (openssl, cryptography in python, choose what you need).
Then we import PEM cert/key via SFTP to F5 (/var/tmp for example, it's just temporary, you'll delete that) and then we install it so its accessible for TMOS:
POST /sys/crypto/cert
POST /sys/crypto/key
{"command": "install",
"name": <cert/key_name>,
"partition": <partition_name>,
"from-local-file": <file_name>}
Hope this helps