I just upgraded my Debian 7, Nginx 1.6.2, PHP 5.4.39 to Debian 8, Nginx 1.6.2, PHP 5.6.9.
There is a CRM running on that server where we used to send emails via PHP, EspoCRM and that's using ZendFramwork2 E-Mail (sending via server 2 - sending via Thunderbird works just fine).
That was working just fine until after the upgrade. Now I've got an error saying:
500 unable to connect via tls
So a bit searching didn't bring anything up with the CRM but rather points to the self signed certificate and/or something at the stack above (NGinx/PHP?).
Any idea where to start digging? In my CRM server I don't have anything in the error logs (guess that is swallowed by the CRM).
I don't see anything in the syslog or authlog of the maiml server either.
EDIT: Add info:
phpinfo ()
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2
curl
SSL Yes
SSL Version OpenSSL/1.0.1k
imap
SSL Support enabled
openssl
OpenSSL support enabled OpenSSL
Library Version OpenSSL 1.0.1k 8 Jan 2015 OpenSSL Header Version
OpenSSL 1.0.1k 8 Jan 2015 Directive Local Value Master Value
openssl.cafile no value no value openssl.capath no value no value
Phar
OpenSSL support enabled
I used the old config file from Debian 7 (NGinx is the same version - I used a backport on D7).
Servers and Software:
Server A: Mailserver, Debian 6, Postfix, selfsigned certificates
Server B: Debian 8, Nginx, PHP, EspoCRM - I've choosen TLS since it's working in my Thunderbird on my local PC and it was working before the Debian 7 to 8 upgrade.
Local PC: Kubuntu, Thunderbird, Mails can be sent and received via TLS.