Example #1
0
def install_predefined_cert_if_available():
    try:
        from localstack_ext.bootstrap import install

        install.setup_ssl_cert()
    except Exception:
        pass
Example #2
0
def install_predefined_cert_if_available():
    try:
        from localstack_ext.bootstrap import install

        if config.SKIP_SSL_CERT_DOWNLOAD:
            LOG.debug(
                "Skipping download of local SSL cert, as SKIP_SSL_CERT_DOWNLOAD=1"
            )
            return
        install.setup_ssl_cert()
    except Exception:
        pass