• Resolved tmmslynn

    (@tmmslynn)


    Hi everyone,

    I am using Postie. To date I have not had any problems with it. I run the blog for my school and we use this for teachers to post to their pages. Today I had a few teachers say they sent them email but the post is not up yet. When I go to process emails i get this error message “error establishing a secure connection”

    What might this mean? and how can I fix it?

Viewing 15 replies - 1 through 15 (of 29 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    What version of Postie?

    Did anything get changed on the server?

    Thread Starter tmmslynn

    (@tmmslynn)

    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.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    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

    Plugin Author Wayne Allen

    (@wayneallen-1)

    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.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    This is about the mail server, not your web server.

    If you’re on DreamHost there is a technical note that may help:
    https://help.dreamhost.com/hc/en-us/articles/215306748-Certificate-domain-mismatch-error-when-connecting-to-a-DreamHost-mail-server

    Fixed it!

    Just changed domain.com (website url) to host.server.com (vps host) in the “Mail Server” settings.

    Thanks.

    Thread Starter tmmslynn

    (@tmmslynn)

    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.

    Thread Starter tmmslynn

    (@tmmslynn)

    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.

    Thread Starter tmmslynn

    (@tmmslynn)

    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”

Viewing 15 replies - 1 through 15 (of 29 total)

The topic ‘error establishing a secure connection’ is closed to new replies.