python-mailcow icon indicating copy to clipboard operation
python-mailcow copied to clipboard

Read ssl_verify and timeout values from the config file

Open peterguy opened this issue 3 years ago • 0 comments

Currently, ssl_verify and timeout are being read only from the globals constants. Read them from the config file, using globals if the config file does not include the setting. When reading ssl_verify from the config file, treat the case-insensitive values "false", "no" and "f" as False; treat all other values as True. When reading timeout from the config file, assume Integer values.

When using ssl_verify = False, suppress warnings about self-signed (or otherwise untrusted or invalid certificates) when connecting.

peterguy avatar Oct 05 '22 16:10 peterguy