• Resolved have-a-byte

    (@have-a-byte)


    I was trying to connect to a mailbox with:
    pop3 / 110 / no ssl / self signed cert.

    Testing this connection resulted in:
    Error connecting to {xxx.xxx:110/service=pop3}
    Certificate failure for xxx.xxx: self signed certificate: /C=US/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/emailAddress=webmaster@localhost

    If I look in the source:
    includes/class-mailpoet-handle-bounces.php #119:

    if(!$selfsigned) $serverName .= ‘/novalidate-cert’;

    This should be: (Removed the !)
    if($selfsigned) $serverName .= ‘/novalidate-cert’;

    Then my self-signed certificate is working, connection established!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @have-a-byte,

    I think you don’t have to change the source code for this purpose.

    If you set Secure connection(SSL) to No than it is clear that you are trying to connect the mailserver through a ‘Plain connection’ without SSL. With that condition, if you set Self-signed certificates to Yes which will never works.

    Here is a conditional truth table should work for your workflow ->

    If Secure connection(SSL) value equal Yes, Self-signed certificates value can be Yes or No based on your mailserver capability.

    If Secure connection(SSL) value equal No, Self-signed certificates value must be set to No, as you are trying to connect your mailserver without ssl.

    Thread Starter have-a-byte

    (@have-a-byte)

    Tnx! you’re correct.
    I was confused, setting “self signed” to false and SSL to false did the trick. (Although I’m using a self signed cert but no ssl).

    @have-a-byte,
    I hope you found the solution to your problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Self signed certificates not working (fix)’ is closed to new replies.