Toggle menu

Import Certificate: POST /http/importCacert

This method performs three actions.

  1. Backs up the old APIServer/worker/auth/<version>/cacert/cacert file - /cacert/cacert to /cacert/cacert.1.backup
  2. Copies the new cacerts file into place - newCacertFile to /cacert/cacert
  3. Returns the aliases installed in the new cacert file in the response.

Parameters (Multipart POST Fields)

NameTypeDescription
cacertFile, requiredThe new cacert file to import.

Example Response

{
    "successful": true,
     "aliases": [
         "digicertassuredidrootca",
         "trustcenterclass2caii",
         "thawtepremiumserverca",
         "swisssignplatinumg2ca"
     ]
}

Last modified on June 27, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon