Hi,

On Tue, Apr 8, 2025 at 12:00 AM John Barker <johnobar...@gmail.com> wrote:

>
> I am running pgAdmin 9.1 in a podman container and am trying to ensure
> that TLS 1.3 is the minimum version.    I have created an override file and
> I know that it is being read at startup but the enforcement of TLS 1.3 is
> not happening.   I am using this configuration as suggested by the
> documentation here:  https://docs.gunicorn.org/en/21.2.0/settings.html
>
> Any idea of what to check.  I know the file is being parsed because if I
> introduce a bad config, it is noted at startup.
>
> Also, where or how is the instance variable for the config defined?
>
> "The callable needs to accept an instance variable for the Config"
>

Can you please share your  gunicorn_config.py file?
The code looks good to me, and you said that you mapped the correct
Gunicorn config file from the container.
Also, what testing have you done to check whether the TLS version is
enforced or not?

>
> The below is a file mapped into the container called gunicorn_config.py
>
> def ssl_context(conf, default_ssl_context_factory):
>     import ssl
>     context = default_ssl_context_factory()
>     context.minimum_version = ssl.TLSVersion.TLSv1_3
>     return context
>
>

Reply via email to