Any idea why wp smtp plugin not sends through ssl?, It used to. Now i have to turn it to unsecure option and it works and email clients too. But not over ssl, neither works.
Versions:
WordPress: 6.1
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.6.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failedSMTP server error: QUIT command failed Detail: `#:
Host: mail.xxxxxxxx.com
Port: 587
SMTPSecure:
tls
SMTPAutoTLS:
bool(true)
SMTPAuth:
bool(true)
Server:
OpenSSL: OpenSSL 1.1.1f 31 Mar 2020
Apache.mod_security: No
Debug:
Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server
SMTP Debug:
2022-11-04 16:45:51 Connection: opening to mail.xxxxxx.com:587, timeout=300, options=array()
2022-11-04 16:45:51 Connection: opened
2022-11-04 16:45:52 SERVER → CLIENT: 220 mail.xxxxxxx.com ESMTP Postfix
2022-11-04 16:45:52 CLIENT → SERVER: EHLO xxxxxx.com
2022-11-04 16:45:52 SERVER → CLIENT: 250-mail.xxxxxxx.com250-PIPELINING250-SIZE 30720000250-ETRN250-STARTTLS250-ENHANCEDSTATUSCODES250-8BITMIME250-DSN250 CHUNKING
2022-11-04 16:45:52 CLIENT → SERVER: STARTTLS
2022-11-04 16:45:52 SERVER → CLIENT: 220 2.0.0 Ready to start TLS
2022-11-04 16:45:52 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [/home/zzzzz.com/public_html/wp-includes/PHPMailer/SMTP.php line 468]
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2022-11-04 16:45:52 CLIENT → SERVER: QUIT
2022-11-04 16:45:52
2022-11-04 16:45:52
2022-11-04 16:45:52 Connection: closed
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed