nginx & SSLCertificateChainFile
L0rda
l0rda at l0rda.biz
Sun Jul 10 12:48:50 MSD 2005
Igor Sysoev wrote:
>
> С прилагаемым патчем должно работать в dovecot.
>
>
> Игорь Сысоев
> http://sysoev.ru
>
>------------------------------------------------------------------------
>
>--- src/http/modules/ngx_http_ssl_module.c Sat Apr 30 13:50:40 2005
>+++ src/http/modules/ngx_http_ssl_module.c Sun Jul 10 10:31:26 2005
>@@ -221,11 +221,11 @@
> }
> }
>
>- if (SSL_CTX_use_certificate_file(conf->ssl_ctx,
>- (char *) conf->certificate.data,
>- SSL_FILETYPE_PEM) == 0) {
>+ if (SSL_CTX_use_certificate_chain_file(conf->ssl_ctx,
>+ (char *) conf->certificate.data) == 0)
>+ {
> ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0,
>- "SSL_CTX_use_certificate_file(\"%s\") failed",
>+ "SSL_CTX_use_certificate_chain_file(\"%s\") failed",
> conf->certificate.data);
> return NGX_CONF_ERROR;
> }
>
>
Спасибо,
все отлично.
--
Best regards, Kirill,
http://www.Fedora-Hosting.com
More information about the nginx-ru
mailing list