You can install a PKCS #12 formatted private key and public key certificate chain. The benefit of PKCS #12 is that you can install a certificate without having to first create a CSR. Depending on the PKCS #12 file you are installing, a password may or may not be required. You can include or exclude password parameter accordingly.
Run the following sample request to install a PKCS #12 file:
curl -k -X POST 'https://<QS_HOSTNAME>:1443/certificates/pkcs?password=<password>' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <ADMIN_TOKEN>' \ -F 'file=@PKCSCertificate.pkcs'