What version of Postie?
Did anything get changed on the server?
1.8.5. Nothing got changed.
I am getting the same error after updating to 1.8.5. I am using POP3 (no SSL) with Sockets (not cURL) on port 110 and I am getting the following (note: I substituted <host>, <domain>, <name> for the actual names):
——————-
“Warning: stream_socket_enable_crypto(): Peer certificate CN=*.mail.<host>.com' did not match expected CN=mail.<domain>.com’ in /home/<name>/<domain>.com/blog/wp-content/plugins/postie/lib/pSocketConnection.php on line 76
Error establishing secure connection
——————-
Besides updating the Postie plugin no other changes were made.
Thanks for the report. I’ve enabled TLS 1.0, 1.1 and 1.2 in the next version (to be released shortly).
If you still have the error with 1.8.6 then your server is likely using SSLv2 or SSLv3 which both have well documented security issues.
Same issue with 1.8.6 :/
Warning: stream_socket_enable_crypto(): Peer certificate CN=host.x.com' did not match expected CN=x.com’ in /home/x/public_html/wp-content/plugins/postie/lib/pSocketConnection.php on line 82
Error establishing secure connection
You might check with your mail server to see if it supports TLS.
I don’t have my own SSL cert, it’s a VPS.
Fixed it!
Just changed domain.com (website url) to host.server.com (vps host) in the “Mail Server” settings.
Thanks.
Still not working. What do i type in for vps host? How do I know if I have VPS? I use bluehost.
Show me the full error message.
all it says is error establishing secure connection
-
This reply was modified 9 years, 7 months ago by
tmmslynn.
Try the debug function on the right pane.
Postie Version: 1.8.6
Wordpress Version: 4.6.1
PHP Version: 5.6.24
OS: Linux box6069.bluehost.com 3.12.52-20160119.106.ELK6.x86_64 #1 SMP Tue Jan 19 16:53:32 CST 2016 x86_64
POSTIE_DEBUG: On
Time: 2016-10-20 12:46:24 GMT
Error log: error_log
TMP dir: /tmp/
Postie is in /home3/tmmslynn/public_html/wp-content/plugins/postie/
cURL version: 7.24.0
Cron: On
Alternate Cron: Off
wp_content_path: /home3/tmmslynn/public_html/wp-content
postie_getemails: Connecting to mail.tmmslynn.com:110 (pop3)
Connecting via Socket
Socket: mail.tmmslynn.com:110
Socket error: 0 –
socket read (1) :+OK Dovecot ready.
socket write: STLS
socket read (1) :+OK Begin TLS negotiation now.
Error establishing secure connection
Try to set mail server to “box6069.bluehost.com”