nginx ssl_verify_client on leads to segmentation fault

2017-05-14 Thread Thomas Glanzmann
Hello, I'm running nginx from git HEAD, when I add the following two lines to a https server: ssl_client_certificate /tmp/ca.crt; ssl_verify_client on; and connect to the website, I get: 2017/05/15 08:12:04 [alert] 9109#0: worker process 12908 exited on signal 11 (core dumped) 2017/05/15 08:12:

Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Philip Rhoades
Rainer, On 2017-05-15 10:07, Rainer Duffner wrote: Am 15.05.2017 um 00:50 schrieb Philip Rhoades : Also, nginx and php-fpm were actually running as services of course . . Maybe strip the comments next time you post a config file… Ah . . good point. Thanks for your response. Regards, Ph

Re: Last roadblock changing from Apache: SSL & PHP - SUCCESS!

2017-05-14 Thread Philip Rhoades
Steve, On 2017-05-15 09:43, Steve Wilson wrote: Hi, It doesn't look like that's actually getting passed to php-fpm. You're possibly missing the php handling in your server{} block. Check that you've got a location set for php files to do a fastcgi_pass. Isn't that what this does?: upstrea

Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Rainer Duffner
> Am 15.05.2017 um 00:50 schrieb Philip Rhoades : > > Also, nginx and php-fpm were actually running as services of course . . Maybe strip the comments next time you post a config file… I have: server { set_real_ip_from 127.0.0.12; real_ip_header X-Forwarded-For; listen 80;

Re: Last roadblock changing from Apache: SSL & PHP

2017-05-14 Thread Steve Wilson
Hi, It doesn't look like that's actually getting passed to php-fpm. You're possibly missing the php handling in your server{} block. Check that you've got a location set for php files to do a fastcgi_pass. eg. location ~ \.php$ { fastcgi_pass unix:/var/run/php-fpm/sock;

Re: Last roadblock changing from Apache: SSL & PHP #2

2017-05-14 Thread Philip Rhoades
Also, nginx and php-fpm were actually running as services of course . . On 2017-05-15 08:43, Philip Rhoades wrote: People, If I can solve this last problem (that I have just spent all night on), I can completely replace Apache with Nginx. I am using RoundCubeMail as my Webmail client - it is

Last roadblock changing from Apache: SSL & PHP

2017-05-14 Thread Philip Rhoades
People, If I can solve this last problem (that I have just spent all night on), I can completely replace Apache with Nginx. I am using RoundCubeMail as my Webmail client - it is written in PHP (the only PHP thing on my server) but it has been working happily with Apache for many years. I ha