Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 418fd59

Browse files
committed
Add libpq error message text on how to handle missing root.crt file.
1 parent bda9dc7 commit 418fd59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/interfaces/libpq/fe-secure.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.122 2009/03/31 01:41:27 tgl Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.123 2009/04/14 17:30:16 momjian Exp $
1515
*
1616
* NOTES
1717
*
@@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn)
10671067
if (strcmp(conn->sslverify, "none") != 0)
10681068
{
10691069
printfPQExpBuffer(&conn->errorMessage,
1070-
libpq_gettext("root certificate file \"%s\" does not exist"), fnbuf);
1070+
libpq_gettext("root certificate file \"%s\" does not exist\n"
1071+
"Either supply the file or set sslverify to \"none\" to disable server certificate verification.\n"), fnbuf);
10711072
return -1;
10721073
}
10731074
}

0 commit comments

Comments
 (0)