PHP Classes

TLS problems

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  TLS problems  
Subject:TLS problems
Summary:stream_socket_enable_crypto returns warning and blocks sending
Messages:6
Author:Nico den Boer
Date:2011-02-09 14:56:04
Update:2011-02-11 07:37:39
 

  1. TLS problems   Reply   Report abuse  
Picture of Nico den Boer Nico den Boer - 2011-02-09 14:56:04
I'm using PHPmailer to connect to our postfix server over TLS. The problem is that I found out that stream_socket_enable_crypto returns false and gives me a vague warning (that I couldn't find on Google):

Warning: stream_socket_enable_crypto() [function.stream-socket-enable-crypto]:
SSL: Success in *******/phpmailer/class.smtp.php on line 198

After this warning, the mailer does not continue sending the email. It returns false and then stops execution.

Does anyone know what this means? Could I be missing a library in my chroot
environment? The OS is Debian 5.0 with PHP version 5.2.6 with Suhosin v0.9.27.

There are 5 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.