• Resolved kranzl

    (@kranzl)


    Hi,
    when I run PHP version 5.4 against my mailserver everything runs fine, even if openssl reports:

    $ openssl s_client -connect serverxyz:587
    CONNECTED(00000003)
    139838124345248:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown proto col:s23_clnt.c:794:

    no peer certificate available

    No client certificate CA names sent

    SSL handshake has read 7 bytes and written 289 bytes

    New, (NONE), Cipher is (NONE)
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    No ALPN negotiated
    SSL-Session:
    Protocol : TLSv1.2
    Cipher : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg : None
    Krb5 Principal: None
    PSK identity: None
    PSK identity hint: None
    Start Time: 1517431791
    Timeout : 300 (sec)
    Verify return code: 0 (ok)

    When I set PHP to a higher version, the SMTP plugin stops working and complains about this error.

    How can I fix this? (It’s a shared webhosting system, so my chances to convince the provider to change something is low 🙁

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    PHP 5.4 and 5.5 should not have a difference. That’s a 5.6+ that might have a problem with invalid server certificate .pem file. Here are more details. Check comments there as well.
    This hack may help you too: https://gist.github.com/slaFFik/c1d7d4249f47da7195fb973109952090

    Thread Starter kranzl

    (@kranzl)

    Hi Slava,
    thx a lot for the fix. Are there any plany to integrate this option into WP Mail SMTP by WPForms?
    Thx

    Plugin Author Slava Abakumov

    (@slaffik)

    Ok, so that worked for you. That’s great.

    Are there any plany to integrate this option into WP Mail SMTP by WPForms?

    No, that fix won’t ever be integrated into the plugin. This is a server-side issue that should be fixed and not a plugin issue.

    I insist on that fix from a gist being a temporary solution until the server configuration will be fixed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP > 5.4 and SSL unknown proto’ is closed to new replies.