Add libpq error message text on how to handle missing root.crt file.

REL8_5_ALPHA1_BRANCH
Bruce Momjian 17 years ago
parent bda9dc7e19
commit 418fd59663
  1. 5
      src/interfaces/libpq/fe-secure.c

@ -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…
Cancel
Save