Forum Discussion

igorzhuk's avatar
igorzhuk
Icon for Altostratus rankAltostratus
Sep 13, 2023

RestApi Backup current certificate and Import new one

Hi 

I want to make some RestApi Script that uploads new PFX but before it override the correct one this will backup the old one 

Another question can I check via restapi the instance for certificate - like I have in GUI - I try to check in /mgmt/tm/sys/crypto/cert/certname 

I not see instance 

 

Thanks

 

 

  • I would suggest looking at F5s partnership with Red Hat and Ansible automation for this. You can create a playbook to perform backups, throw the old config as a github commit, etc and then perform the change. Integration options exist to use a password vault (like Cyberark) and even email the status and/or cert/key copies post automation run.