Re: Enforcing TLS 1.3 as a a minimum version

Поиск
Список
Период
Сортировка
От Khushboo Vashi
Тема Re: Enforcing TLS 1.3 as a a minimum version
Дата
Msg-id CAFOhELeMYYFz8vpBpd7DKtjW10THuv22WZ6NiYUZTZZ634MaQw@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: Enforcing TLS 1.3 as a a minimum version  (John Barker <johnobarker@gmail.com>)
Список pgadmin-support
Hi,

On Tue, Apr 8, 2025 at 12:00 AM John Barker <johnobarker@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

В списке pgadmin-support по дате отправления: