<div dir="ltr">wrong curve?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 10, 2015 at 1:27 PM, <span dir="ltr"><<a href="mailto:TheGrandChamp@gmx.de" target="_blank">TheGrandChamp@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>Hi,</div>
<div> </div>
<div>this time not stupidly formatted ;):</div><div><div class="h5">
<div>I compiled nginx 1.7.10 + LibreSSL 2.1.4, but am not able to use ECC certificates.</div>
<div> </div>
<div>nginx -V:<br>
nginx version: nginx/1.7.10<br>
built by gcc 4.7.2 (Debian 4.7.2-5) <br>
TLS SNI support enabled<br>
configure arguments: --with-openssl=/root/git/build_nginx/build/libressl-2.1.4 --with-pcre=/root/git/build_nginx/build/pcre-8.36 --add-module=/root/git/build_nginx/build/echo-nginx-module-0.57 --with-ld-opt=-lrt --prefix=/usr/local/nginx --conf-path=/etc/nginx-libressl/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-file-aio --with-http_spdy_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_secure_link_module --with-http_sub_module --with-http_xslt_module</div>
<div> </div>
<div>Using this script: <a href="https://gist.github.com/leonklingele/a669803060fa92817f64" target="_blank">https://gist.github.com/leonklingele/a669803060fa92817f64</a></div>
<div> </div>
<div>nginx error log gives me these messages:<br>
2015/03/09 17:00:11 [notice] 6484#0: signal process started<br>
2015/03/09 17:00:15 [alert] 6486#0: *732628 ignoring stale global SSL error (SSL: error:14085042:SSL routines:SSL3_CTX_CTRL:called a function you should not call) while SSL handshaking, client: xxx.xxx.xxx.xxx, server: <a href="http://0.0.0.0:443" target="_blank">0.0.0.0:443</a><br>
2015/03/09 17:01:23 [notice] 6785#0: signal process started<br>
2015/03/09 17:01:25 [alert] 6787#0: *733012 ignoring stale global SSL error (SSL: error:14085042:SSL routines:SSL3_CTX_CTRL:called a function you should not call) while SSL handshaking, client: xxx.xxx.xxx.xxx, server: <a href="http://0.0.0.0:443" target="_blank">0.0.0.0:443</a><br>
2015/03/09 17:05:27 [notice] 7479#0: signal process started<br>
2015/03/09 17:05:35 [alert] 7481#0: *734270 ignoring stale global SSL error (SSL: error:14085042:SSL routines:SSL3_CTX_CTRL:called a function you should not call) while SSL handshaking, client: xxx.xxx.xxx.xxx, server: <a href="http://0.0.0.0:443" target="_blank">0.0.0.0:443</a></div>
<div> </div>
<div>RSA certificates work perfectly fine.</div>
<div><br>
I generated the ECDSA CSR (for Comodo) using:<br>
$ openssl ecparam -out private.key -name secp384r1 -genkey<br>
$ openssl req -new -key private.key -nodes -out request.csr</div>
<div> </div>
<div>Is this issue related to nginx or LibreSSL?</div>
<div> </div>
<div>Also see: <a href="http://forum.nginx.org/read.php?2,256381,256381#msg-256381" target="_blank">http://forum.nginx.org/read.php?2,256381,256381#msg-256381</a></div>
<div><br>
Thanks for helping,<br>
Jonathan Müller</div>
</div></div></div></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>