mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Add libpq error message text on how to handle missing root.crt file.
This commit is contained in:
parent
bda9dc7e19
commit
418fd59663
@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.122 2009/03/31 01:41:27 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.123 2009/04/14 17:30:16 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn)
|
||||
if (strcmp(conn->sslverify, "none") != 0)
|
||||
{
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("root certificate file \"%s\" does not exist"), fnbuf);
|
||||
libpq_gettext("root certificate file \"%s\" does not exist\n"
|
||||
"Either supply the file or set sslverify to \"none\" to disable server certificate verification.\n"), fnbuf);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user