|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
name | M | string | The name of the certificate entry. | ||
state | O | enumeration | disabled | The administration state of this certificate. | |
fileName | O | string | The certificate content file name | ||
passPhrase | O | string | Pass-phrase to decrypt RSA private key in PKCS12 file. | ||
type | M | enumeration | The type of the certificate - remote : certificate is imported from remote; local : certificate is used locally; local-internal : local certificate with private key generated on the SBX. |
Operation Name | Description |
---|---|
generateCSR | generate CSR(Certificate Signing Request). |
importCert | Import PEM format certificate. |
retrieveCertContent | Retrieve and display installed X.509 certificate content |
REST API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/system/security/pki/certificate/{name} |
REST API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/system/security/pki --data ' |
REST API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/system/security/pki/certificate/{name} |