SecureBlackbox 2020 Python Edition

Questions / Feedback?

use_tls Property

Enables or disables the TLS requirement.

Syntax

def get_use_tls() -> bool: ...
def set_use_tls(value: bool) -> None: ...

use_tls = property(get_use_tls, set_use_tls)

Default Value

FALSE

Remarks

Set this property to true to enable TLS on the listening port. TLS setting is mandatory: the server can either listen to plain HTTP or HTTPS connections.

Use tls_settings to configure the TLS layer, and server_certificates to provide the server certificates.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]