Re: I am receiving an error

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: I am receiving an error
Дата
Msg-id CAB=Je-E2ipL7QiJukUTmdT+2=Ubeac5h9R9LCUi426Q822qQvA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: I am receiving an error  ("Campbell, Lance" <lance@illinois.edu>)
Ответы Re: I am receiving an error  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Does that mean we want to add more thorough explanation to the exception message itself?

Of course we can't add URLs there (as they happen to change over time), however we might do better exception-wize.

Should the default exception suggest to check hostname vs certificate?
E.g. something behind the words

>The connection URL specifies test.cname.illinois.edu:5432,
>however the server provided certificate for a different hostname:
> aws.postgresql.server.amazonaws.com. It means either the certificate is invalid or the hostname in the connection URL must be different.
> pgjdbc aborts such connections in order to avoid man-in-the-middle attacks.
> Please configure the proper certificate and/or use proper hostname in the connection URL
> Hostname verification can be temporary disabled, however it would open your service to man-in-the-middle attacks, so you probably don't want to disable the verification.

WDYT?

Vladimir
Вложения

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

Предыдущее
От: "Campbell, Lance"
Дата:
Сообщение: Re: I am receiving an error
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: I am receiving an error