miniwerk.lewrap

Wrap letsencrypt

Module Contents

Functions

call_certbot(config)

Construct Certbot command and call the entrypoint, returns the args for easier unit testing

get_le_certs()

Get certs from LE, copy them to the configured path, return configured path

Attributes

LOGGER

LOGGER[source]
async call_certbot(config)[source]

Construct Certbot command and call the entrypoint, returns the args for easier unit testing

Parameters:

config (miniwerk.config.MWConfig)

Return type:

Tuple[int, List[str]]

async get_le_certs()[source]

Get certs from LE, copy them to the configured path, return configured path

Return type:

pathlib.Path