Re: Nginx fails to start : SSL erro without SSL use
2012/8/29 Stuart Henderson s...@spacehopper.org Yes, this is a special purpose one, the easy-rsa scripts use the '-config' option of openssl where necessary, it's not intended to be copied over the system openssl.cnf file. You can find a clean one in /usr/src/lib/libssl/openssl.cnf (if you have installed the source tree) or via cvsweb at http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/openssl.cnf?rev=1.1 Nice, It works fine! Thank you very much.
Nginx fails to start : SSL erro without SSL use
Hi all, I'm new to OpenBSD but it is not a reason to protect me, be hard! Has I said I can't launch nginx, I have an error with SSL instead of I'm not using it. My *configuration* : OpenBSD 5.1 GENERIC#160 i386 My *nginx version* : nginx-1.0.11 My */etc/nginx/nginx.conf*: user _nginx; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout 65; server { listen 80; server_name localhost; location / { proxy_pass http://127.0.0.1:8080/; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP$remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } So I tried the following things : *# ps aux | grep nginx * root 15646 0.0 0.0 720 4 p0 R+ 9:07PM 0:00.00 grep nginx (ksh) *# /etc/rc.d/nginx -d start * doing rc_read_runfile doing rc_check nginx doing rc_start Auto configuration failed 656077660:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 doing rc_rm_runfile (failed) *# ps aux | grep nginx* root 16463 0.0 0.0 720 4 p0 R+ 9:09PM 0:00.00 grep nginx (ksh) *# /usr/local/sbin/nginx* Auto configuration failed 793330524:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 *# ps aux | grep nginx* root 17415 0.0 0.0 720 4 p0 R+ 9:10PM 0:00.00 grep nginx (ksh) *# /usr/local/sbin/nginx -t* Auto configuration failed 726610780:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 Nginx was working well (but not the rc.d script, it's an other issue, I'm trying to forward step by step) then I tried to setup OpenVPN since it doesn't work any more :/ For your help, In advance, Thanks.
Re: Nginx fails to start : SSL erro without SSL use
On 2012/08/29 10:53, Kata Goto wrote: Hi all, I'm new to OpenBSD but it is not a reason to protect me, be hard! Has I said I can't launch nginx, I have an error with SSL instead of I'm not using it. 726610780:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 Have you made any changes to /etc/ssl/openssl.cnf?
Re: Nginx fails to start : SSL erro without SSL use
2012/8/29 Stuart Henderson s...@spacehopper.org On 2012/08/29 10:53, Kata Goto wrote: Hi all, I'm new to OpenBSD but it is not a reason to protect me, be hard! Has I said I can't launch nginx, I have an error with SSL instead of I'm not using it. 726610780:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 Have you made any changes to /etc/ssl/openssl.cnf? Thanks for your answer, Yes, I made a cp /usr/local/share/examples/openvpn/easy-rsa/openssl.cnf /etc/ssl/ Is it wrong ?
Re: Nginx fails to start : SSL erro without SSL use
On 2012/08/29 12:16, Kata Goto wrote: 2012/8/29 Stuart Henderson s...@spacehopper.org On 2012/08/29 10:53, Kata Goto wrote: Hi all, I'm new to OpenBSD but it is not a reason to protect me, be hard! Has I said I can't launch nginx, I have an error with SSL instead of I'm not using it. 726610780:error:0E065068:configuration file routines: STR_COPY:variable has no value:/usr/src/lib/libssl/crypto/ ../src/crypto/conf/conf_def.c:618:line 37 Have you made any changes to /etc/ssl/openssl.cnf? Thanks for your answer, Yes, I made a cp /usr/local/share/examples/openvpn/easy-rsa/openssl.cnf /etc/ssl/ Is it wrong ? Yes, this is a special purpose one, the easy-rsa scripts use the '-config' option of openssl where necessary, it's not intended to be copied over the system openssl.cnf file. You can find a clean one in /usr/src/lib/libssl/openssl.cnf (if you have installed the source tree) or via cvsweb at http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/openssl.cnf?rev=1.1