Peer Certificate error
-
Hello I recently moved my site to a new server and cannot send mail using smtp mailer any longer I get the following error:
Versions: WordPress: 5.7 WordPress MS: No PHP: 7.4.16 WP Mail SMTP: 2.7.0 Params: Mailer: smtp Constants: Yes ErrorInfo: SMTP Error: Could not connect to SMTP host. Host: smtp.office365.com Port: 587 SMTPSecure: tls SMTPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 1.1.1d 10 Sep 2019 Debug: Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. SMTP Debug: 2021-04-13 16:11:51 Connection: opening to smtp.office365.com:587, timeout=300, options=array() 2021-04-13 16:11:51 Connection: opened 2021-04-13 16:11:51 SERVER -> CLIENT: 220-hit-aws-web01.hitmediasolutions.com.au ESMTP Exim 4.94 #2 Wed, 14 Apr 2021 02:11:51 +1000 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. 2021-04-13 16:11:51 CLIENT -> SERVER: EHLO lewis.hackfath.com 2021-04-13 16:11:51 SERVER -> CLIENT: 250-hit-aws-web01.hitmediasolutions.com.au Hello lewis.hackfath.com [172.31.31.24]250-SIZE 52428800250-8BITMIME250-PIPELINING250-X_PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP 2021-04-13 16:11:51 CLIENT -> SERVER: STARTTLS 2021-04-13 16:11:51 SERVER -> CLIENT: 220 TLS go ahead 2021-04-13 16:11:51 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=‘hit-aws-web01.hitmediasolutions.com.au' did not match expected CN=‘smtp.office365.com' [/home/hackfath/public_html/lewis/wp-includes/PHPMailer/SMTP.php line 467] SMTP Error: Could not connect to SMTP host. 2021-04-13 16:11:51 CLIENT -> SERVER: QUIT 2021-04-13 16:11:51 2021-04-13 16:11:51 2021-04-13 16:11:51 Connection: closed SMTP Error: Could not connect to SMTP host
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Peer Certificate error’ is closed to new replies.