Import Root or Intermediate Certificate

URL:
https://<root>/machines/<machine>/sslCertificates/importRootOrIntermediate
Methods:
POST
Required Capability:
Access allowed with the "Security and Infrastructure" privilege
Version Introduced:
10.8

Description

The importRootOrIntermediate operation imports a certificate authority's (CA) root and intermediate certificates into the key store.

To create a production-quality CA-signed certificate, you need to add the CA certificates into the key store that enables the SSL mechanism to trust the CA (and the certificates it has signed). While most of the popular CA certificates are already available in the key store, you can use this operation if you have a custom CA or specific intermediate certificates.

To import a signed certificate from a CA, use the Import Signed Certificate operation.

Request parameters

ParameterDetails

alias

The name of the certificate.

Example
Use dark colors for code blocksCopy
1
alias=mycustomca

file

The multipart POST parameter containing the certificate file.

norestart

Determines whether the portal should be prevented from restarting after importing the certificate. By default, this value is set as false and the portal will restart.

Values: true | false

f

The response format. The default response format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.