Update a SSL certificate
patch
https://{your_site_interface}/opa-hub/api/12.2.40/sslcertificates/{SSL-certificate-name}
This operation will update a SSL certificate.
Request
Path Parameters
-
SSL-certificate-name(required): string
The certificate name.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
certificate: string
The certificate data, starting with -----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----.
-
name: string
The certificate name.
Security
-
Authorization: apiKey
Type:
apiKeyDescription:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}. -
oauth2_opa: oauth2
Type:
oauth2Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Root Schema : sslCertificate
Type:
Show Source
object-
certificate(required): string
The certificate data, starting with -----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----.
-
fingerprintSHA1: string
Read Only:
trueThe certificate SHA-1 fingerprint, as a hexadecimal-encoded, colon separated value. -
fingerprintSHA256: string
Read Only:
trueThe certificate SHA-256 fingerprint, as a hexadecimal-encoded, colon separated value. -
issuer: string
Read Only:
trueThe distinguished name of the certificate issuer. -
name(required): string
The certificate name.
-
subject: string
Read Only:
trueThe distinguished name of the certificate subject. -
validFrom: string
(date-time)
Read Only:
trueThe date and time this certificate is valid from. -
validTo: string
(date-time)
Read Only:
trueThe date and time this certificate is valid to.
400 Response
The request could not be processed because it contains missing or invalid information.
404 Response
The requested resource does not exist.
409 Response
A duplicate name or certificate is already present.