The following command restores Virtual Service certificates from a backup file called backedupcert:

curl -X POST --data-binary "@backedupcert" -k "https://bal:1fourall@20.200.25.100/access/restorecert?password=password&type=vs"

The type parameter has three possible values:

  • Full - All Virtual Service and intermediate certificates
  • Third - Intermediate certificates only
  • Vs - Virtual Service certificates only

Response:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Response stat="200" code="ok">
<Success>Certificates Restored</Success>
</Response>