File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.90 2009/01/28 15 :06:47 mha Exp $
14
+ * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.91 2009/05/11 08 :06:21 mha Exp $
15
15
*
16
16
* Since the server static private key ($DataDir/server.key)
17
17
* will normally be stored unencrypted so that the database
@@ -729,9 +729,8 @@ initialize_SSL(void)
729
729
/*
730
730
* Load and verify certificate and private key
731
731
*/
732
- if (SSL_CTX_use_certificate_file (SSL_context ,
733
- SERVER_CERT_FILE ,
734
- SSL_FILETYPE_PEM ) != 1 )
732
+ if (SSL_CTX_use_certificate_chain_file (SSL_context ,
733
+ SERVER_CERT_FILE ) != 1 )
735
734
ereport (FATAL ,
736
735
(errcode (ERRCODE_CONFIG_FILE_ERROR ),
737
736
errmsg ("could not load server certificate file \"%s\": %s" ,
You can’t perform that action at this time.
0 commit comments