wp安装 wp mail smtp插件 ,突然出现问题

**Versions:**
**WordPress:** 6.6.2
**WordPress MS:** No
**PHP:** 8.2.23
**WP Mail SMTP:** 4.1.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:0A000086:SSL routines::certificate verify failedSMTP server error: QUIT command failed Detail: ݡq���9o����QRI����-*��]�r�2E��(���=e��I���u�a�Bү�h��_L�(�r���"j!�6ml��³;T�€���C�ĥ�E�VI51��~2�ؙ`�b!� T4s�ͽɒ�-�*=õ!�FT�a�\⥉rU���Ӌ�w a:�e�B����)�b��!�إ�˽��LJQ��~\��b��"R28��L,S?�юw'Pdt�~��"o�H�����.cK�i�����#� '!Q�»z��2n�)�� �/>El4抑z�}�'�{S���*wQgU���Q��)���E�v�f|zyd�H~*�8��Z�vt���^�֘iy
**Host:** smtp.eforw.com
**Port:** 587
**SMTPSecure:**

tls


**SMTPAutoTLS:**

bool(true)


**SMTPAuth:**

bool(true)


**Server:**
**OpenSSL:** OpenSSL 3.0.14 4 Jun 2024
**Apache.mod_security:** No

**Debug:**
Email Source: WP Mail SMTP Mailer: 其他 SMTP The following From address failed: shxsun0201@gmail.com : MAIL FROM command failed,Can't send from shxsun0201@gmail.com with user mail@healthyrepro.com ,550,SMTP server error: MAIL FROM command failed Detail: Can't send from shxsun0201@gmail.com with user mail@healthyrepro.com SMTP code: 550SMTP server error: MAIL FROM command failed Detail: Can't send from shxsun0201@gmail.com with user mail@healthyrepro.com SMTP code: 550

**SMTP Debug:**

2024-09-23 06:02:00 Connection: opening to smtp.eforw.com:587, timeout=30, options=array()
2024-09-23 06:02:00 Connection: opened
2024-09-23 06:02:01 SERVER -> CLIENT: 220 smtp.eforw.com ESMTP Haraka/2.8.25 ready
2024-09-23 06:02:01 CLIENT -> SERVER: EHLO healthyrepro.com
2024-09-23 06:02:01 SERVER -> CLIENT: 250-smtp.eforw.com Hello 207.148.69.47.vultrusercontent.com [207.148.69.47]Haraka is at your service.250-PIPELINING250-8BITMIME250-SMTPUTF8250-SIZE 0250 STARTTLS
2024-09-23 06:02:01 CLIENT -> SERVER: STARTTLS
2024-09-23 06:02:01 SERVER -> CLIENT: 220 Go ahead.
2024-09-23 06:02:01 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:0A000086:SSL routines::certificate verify failed [/var/www/html/wp-includes/PHPMailer/SMTP.php line 487]
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:0A000086:SSL routines::certificate verify failed
2024-09-23 06:02:01 CLIENT -> SERVER: QUIT
2024-09-23 06:02:01
2024-09-23 06:02:01
2024-09-23 06:02:01 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:0A000086:SSL routines::certificate verify failed

我之前设置好了,这个插件。邮件接收发送也是 可以的。但是在昨天突然不能发送了,显示了上面的问题。
我在谷歌上面搜索了一下,出现了这个帖子,他的问题和我的一样https://segmentfault.com/q/1010000044526258
但是我不能设置OpenResty,一设置就出问题。

可以问一下 GPT

GPT并没有回答如何解决,我只想知道如何在1panel内设置

可以到『网站』环境配置,编辑配置,手动加一行指定cafile,如:
openssl.cafile = /usr/local/amh-7.1/etc/ca-bundle-2023.crt

这个内容。

看起来是修改 php-fpm 的配置文件