File openwsman-2.1.0-ssl_fix.patch of Package openwsman
--- src/server/shttpd/config.c +++ src/server/shttpd/config.c @@ -107,7 +107,7 @@ } if ((CTX = SSL_CTX_new(SSLv23_server_method())) == NULL) elog(E_FATAL, NULL, "SSL_CTX_new error"); - else if ( wsmand_options_get_ssl_cert_file() && SSL_CTX_use_certificate_chain_file(CTX, wsmand_options_get_ssl_cert_file()) == 0) + else if ( wsmand_options_get_ssl_cert_file() && SSL_CTX_use_certificate_file(CTX, wsmand_options_get_ssl_cert_file(),SSL_FILETYPE_PEM) == 0) elog(E_FATAL, NULL, "cannot open %s", pem); else if (wsmand_options_get_ssl_key_file() && SSL_CTX_use_PrivateKey_file(CTX, wsmand_options_get_ssl_key_file(), SSL_FILETYPE_PEM) == 0) elog(E_FATAL, NULL, "cannot open %s", pem);