• Resolved doubledrat

    (@doubledrat)


    I’m getting the following error

    “SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=int-srv-g6-1.xxx.xxx' did not match expected CN=smtp.xxx.xxx’ SMTP server error: QUIT command failed”

    the certificate in question DOES have smtp.xxx.xxx as a SAN subject alternate name. int-srv-g6-1 is the SPN subject principle name.

    It seems your plugin is only checking the SPN and not the available SANs

Viewing 2 replies - 1 through 2 (of 2 total)
  • there is anyone to fix this error?

    Plugin Support Dake

    (@dakeg)

    Hi @doubledrat

    Thanks for reaching out to us and we apologise for the delay.

    Please kindly know, that the error you shared is returned by your SMTP server.

    We suspect that your web host is redirecting SMTP traffic to their server. This is why the certificate presented didn’t match the hostname.

    Please, contact your web host support with the same full SMTP log after sending a test email, and they can look into the issue for you.

    Unfortunately, we can’t perform fixes from our end because this issue is hosting/SMTP server-related.

    Please note that these types of errors usually only come up with the Other SMTP mailer, as it’s not an API-based mailer. In cases where ongoing issues arise while using the Other SMTP mailer, we generally recommend switching to a transactional mailer option (all mailers except the?Other SMTP?and?Default (none)?option).

    WP Mail SMTP has documentation on setting up each of the available mailers here:?https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/.

    As an alternative, you can consider using SendLayer which offers a free trial or you can try using Sendinblue/Brevo which offers a free tier.

    @chanuka789

    Please create a new thread in our support forum of your own and share the full error log that you received after sending a test email (please ensure to strip away any credentials or email addresses.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SSL error’ is closed to new replies.