Get information about SSL certificates configuration and status
Returns information about SSL certificate status and renewal configuration.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getWebCert --host https://$PANEL_HOST:9443Responses
Details of the certificate.
If true, the certificate is obtained from Let's Encrypt service and renewed automatically. Otherwise, the certificate management is up to the administrator.
Installed certificate's expiration time in ISO 8601 format.
Installed certificate's creation time in ISO 8601 format.
Describes certificate validity status.
paths object Paths to certificate-related files.
Paths to certificate-related files.
Path to the certificate PEM file.
Path to the corresponding private key PEM file.
Path to the file containing certificate chain.
DEPRECATED The domain (Common Name) for which current certificate was issued.
List of DNS names included in certificate's Subject Alternative Name extension.
Issuer value of the current certificate.
Date and time in ISO 8601 format. Represents last successful Let's Encrypt certification. If there are no successful attempts its value is null. This property is omitted if letsEncrypt is off.
Date and time in ISO 8601 format. Represents last unsuccessful Let's Encrypt certification. If there are no successful attempts its value is null. This property is omitted if letsEncrypt is off.
Example
{
"paths": {
"cert": "/etc/oz_panel/certs/web_cert.pem",
"key": "/etc/oz_panel/certs/web_key.pem",
"chain": "/etc/oz_panel/certs/web_chain.pem"
},
"obtainedTime": "2018-07-11T13:11:05Z",
"letsEncrypt": true,
"issuer": "LE Intermediate X3",
"expirationTime": "2018-10-09T13:11:05Z",
"domain": "onedata.org"
}Forbidden request.
Cluster hosts are not configured.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}