cterasdk.edge.ssl module#
- class cterasdk.edge.ssl.SSL(edge)#
Bases:
BaseCommand
Edge Filer SSL APIs
- disable_http()#
Disable HTTP access
- enable_http()#
Enable HTTP access
- get_storage_ca()#
Get object storage trusted CA certificate
- import_certificate(private_key, *certificates)#
Import the Edge Filer’s web server’s SSL certificate
- Parameters:
private_key (str) – The PEM-encoded private key, or a path to the PEM-encoded private key file
certificates (list[str]) – The PEM-encoded certificates, or a list of paths to the PEM-encoded certificates
- import_storage_ca(certificate)#
Import the object storage trusted CA certificate
- Parameters:
certificate (str) – The PEM-encoded certificate or a path to the PEM-encoded server certificate file
- is_http_disabled()#
Check if HTTP access is disabled
- is_http_enabled()#
Check if HTTP access is enabled
- remove_storage_ca()#
Remove object storage trusted CA certificate