1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 05:33:12 +02:00

- Added chained SSL certificates support, patch provided by justdave (#0002848).

This commit is contained in:
Bram Matthys
2006-04-09 16:51:04 +00:00
parent e88ee5180b
commit ae03d2e4e8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1094,3 +1094,4 @@
- Fixed (unimportant) DNS resolver problem if using some LAN domains with digits at end,
reported by Bock (#0002843).
- Added minidump support for crashes to aid debugging a bit.
- Added chained SSL certificates support, patch provided by justdave (#0002848).
+1 -1
View File
@@ -189,7 +189,7 @@ void init_ctx_server(void)
| (iConf.ssl_options & SSLFLAG_FAILIFNOCERT ? SSL_VERIFY_FAIL_IF_NO_PEER_CERT : 0), ssl_verify_callback);
SSL_CTX_set_session_cache_mode(ctx_server, SSL_SESS_CACHE_OFF);
if (SSL_CTX_use_certificate_file(ctx_server, SSL_SERVER_CERT_PEM, SSL_FILETYPE_PEM) <= 0)
if (SSL_CTX_use_certificate_chain_file(ctx_server, SSL_SERVER_CERT_PEM) <= 0)
{
ircd_log(LOG_ERROR, "Failed to load SSL certificate %s", SSL_SERVER_CERT_PEM);
exit(3);