| От | Tom Lane |
|---|---|
| Тема | Re: FATAL: connection requires a valid client certificate |
| Дата | |
| Msg-id | 1944831.1750435366@sss.pgh.pa.us обсуждение |
| Ответы |
Re: FATAL: connection requires a valid client certificate
|
| Список | pgsql-admin |
Valere Binet <valere.binet@gmail.com> writes:
> I'm completely new to postgresql and I'm struggling with its SSL
> configuration.
It sounds like you have the right certs in the right files.
I wonder though whether the client is actually picking up the
client-side cert/key.
In particular, a quick look at the libpq source code indicates
that it doesn't have any mechanism for expanding "~" in the sslcert
etc. parameters: you need to write out the full path verbatim.
(But it also looks like you should have gotten an error about
not finding the sslrootcert file, so I'm not quite sure if this
theory is correct.)
Another thing to look into is whether the order of the certs
in the multi-cert files matters.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера