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

is_http_disabled()#

Check if HTTP access is disabled

is_http_enabled()#

Check if HTTP access is enabled

class cterasdk.edge.ssl.SSLv1(edge)#

Bases: SSL

Edge Filer SSLv1 APIs

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

remove_storage_ca()#

Remove object storage trusted CA certificate

class cterasdk.edge.ssl.SSLv78(edge)#

Bases: SSL

Edge Filer v7.8 SSL Certificate APIs

class cterasdk.edge.ssl.ServerCertificate(edge)#

Bases: BaseCommand

Edge Filer v7.8 Server Certificate APIs

get()#

Get Server Cerificate.

import_certificate(private_key, *certificates)#

Import the Edge Filer’s server 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

regenerate()#

Generate a Self Signed Certificate.

class cterasdk.edge.ssl.TrustedCAs(edge)#

Bases: BaseCommand

Edge Filer v7.8 Trusted CAs APIs

add(ca)#

Add Trusted CA.

Parameters:

certificate (str) – The PEM-encoded certificate or a path to the PEM-encoded server certificate file

all()#

List Trusted CAs.

clear()#

Remove all Trusted CAs.

remove(ca)#

Remove Trusted CA.

Parameters:

ca (object) – CA fingerprint as str, or a trusted CA object.

cterasdk.edge.ssl.initialize(edge)#

Conditional intialization of the Edge Filer SSL Module.