Skip to content

Use os.path.expanduser for TLS files

Jim MacArthur requested to merge jmac/expand-user-for-tls into master

Description

Use os.path.expanduser to process tls-server-key, tls-server-cert, and tls-client-certs. Since the default.yml config file uses ~/cas/ as the default CAS location, it's reasonable for a user to expect that they can use ~ in the paths for keys and certificates too.

Changes proposed in this merge request:

  • Use os.path.expanduser process tls-server-key, tls-server-cert, and tls-client-certs.

This merge request, when approved, will close issue/bug:

No issue raised as this is a trivial fix

Edited by finn

Merge request reports

Loading