As these are production sites i had to get them back up and running asap, so i opened a conversation with the host who confirmed that nothing had changed their end. I updated certificates, made sure things were up to date and nothing worked. It was the same issue with over 10 sites.
I have ended up with another mailer, not sure if i can name it but it effectively does exactly the same as WP SMTP but works seamlessly when configured with the same settings.
The site is currently configured for SSL over port 587 and we force TLS with STARTTLS but i’m just flummoxed as to what has happened. Interestingly things are OK on a local install on a mac using local.wp so i’m not ruling out changes with the host quite yet… I snippet of the log here:
Error Log ---
SMTP Debug:
2024-08-24 17:56:36 Connection: opening to mail.[REDACTED].com:587, timeout=30, options=array()
2024-08-24 17:56:36 Connection: opened
2024-08-24 17:56:36 SERVER -> CLIENT: 220-[REDACTED].io ESMTP Exim 4.97.1 #2 Sat, 24 Aug 2024 18:56:36 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2024-08-24 17:56:36 CLIENT -> SERVER: EHLO [REDACTED].com
2024-08-24 17:56:36 SERVER -> CLIENT: 250-gin.hostns.io Hello gin.hostns.io [109.70.148.37]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPECONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2024-08-24 17:56:36 CLIENT -> SERVER: STARTTLS
2024-08-24 17:56:36 SERVER -> CLIENT: 220 TLS go ahead
2024-08-24 17:56:36 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 [[REDACTED]PHPMailer/SMTP.php line 488]
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
2024-08-24 17:56:36 CLIENT -> SERVER: QUIT
2024-08-24 17:56:36
2024-08-24 17:56:36
2024-08-24 17:56:36 Connection: closed
]]>When I configure the plugin and do the test I get an openssl error, I checked and the ssl certificate is well created in my virtualmin server, I don’t know what could be happening.
Does anyone know where the error could be?
where it says (mydomain) it really says my domain, thank you.
Thanks and greetings.
Attached is the error message:
Versions: WordPress: 6.4.3 WordPress MS: No PHP: 8.1.2-1ubuntu2.14 WP Mail SMTP: 4.0.2 Parameters: Mailer: smtp Constants: No ErrorInfo: SMTP Error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL error messages: error:0A000086:SSL routines::certificate verification failedSMTP server error: EXIT command failed Detail: ?? 2??′A$???綠????( jHG?d?a????? ?#4NPg?n??B?U.????????mu?{?X}?-'? Host: mail.mydomain.com (my domain is in mydomain) Port: 587 SMTPSecure : tls SMTPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 3.0.2 March 15, 2022 Depuration: Email Source: WP Mail SMTP Pro Mailer: Another SMTP SMTP Error: Could not connect to host SMTP Could not connect to server SMTP Server Error: Could not connect to server SMTP Debugging: 2024-03-09 18:06:29 Connection: opening to mail.mydomain.com:587, timeout=300, options=array() (modified by me putting my real domain) 2024-03-09 18:06:29 Connection: open 2024-03-09 18:06:29 SERVER -> CLIENT: 220 vmi4778562.contaboserver.net ESMTP Postfix (Ubuntu) 2024-03-09 18:06:29 CLIENT -> SERVER: EHLO mydomain.com (modified by me, it says my real domain) 2024-03-09 18:06:29 SERVER -> CLIENT: 250-vmi1456702.contaboserver.net250-PIPEL250-SIZE 102479600150-VRFY250-ETRN657850-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250 -ENHANCEDSTATUSCODES250-8BITMIME250-DSN250-SMTPUT F8250 FRAGMENTATION 2024-03-09 18:06:29 CLIENT -> SERVER: STARTTLS 2024-03-09 18:06:29 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2024-03-09 18:06:29 Connection error. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed [/home/somes/public_html/wp-includes/PHPMailer /SMTP.php line 476] SMTP error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed 2024-03-09 18:06:29 CLIENT -> SERVER: EXIT 2024-03-09 18:06:29 2024-03-09 18:06:29 2024-03-09 18:06:29 Connection: closed SMTP Error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed
Thanks and greetings.
]]>I have run WordPress for a long time, but after I updated my Ubuntu server with the last packets I get this error in the “Site Health Status”
My server running: Ubuntu 22.04.2
If i run “apt update” this is the output:
root@***~ # apt update
Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:3 https://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Hit:5 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:1 https://rspamd.com/apt-stable jammy InRelease
Hit:6 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:7 https://archive.ubuntu.com/ubuntu jammy InRelease
Hit:8 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Hit:10 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:11 https://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Hit:12 https://deb.goaccess.io jammy InRelease
Ign:13 https://download.webmin.com/download/newkey/repository stable InRelease
Hit:14 https://download.webmin.com/download/newkey/repository stable Release
Fetched 108 kB in 7s (15,7 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
If i run apt upgrade i get this
root@****~ # apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
#
# An OpenSSL vulnerability has recently been fixed with USN-6188-1 & 6119-1:
# CVE-2023-2650: possible DoS translating ASN.1 object identifiers.
# Ensure you have updated the package to its latest version.
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Any help will be nice.
]]>TFA: beginning attempt to port private key encryption over to openssl
What does this mean?
]]>FILE: src/GridGallery/Optimization/Model/Encrypt.php
FOUND 13 ERRORS AND 0 WARNINGS AFFECTING 7 LINES14 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
14 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
15 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
15 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
15 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
16 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
16 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
29 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
29 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
35 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
35 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
45 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
48 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
So this Just happened:
Upon refreshing our Analytify widget, we started to get an OpenSSL error inside our widget.
The error reads:
Oops!
OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Don't worry, This error message is only visible to Administrators.
Details: https://prnt.sc/RO9mSoFFrCYR
Tried a few things to help fix the issue. No dice.
From reading other support forum topics, it appears this is a new plugin issue. Perhaps you guys are conducting live tests for your upcoming GA4 plugin update.
Kindly review and provide a fix.
Thank you!
]]>Oops!?
OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0?
Don't worry, This error message is only visible to Administrators.?
Thank you!
Email Source:
Mailer: Gmail
Error creating resource: [message] fopen(): Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?
[file] C:\wamp-2.5\www\genmtc\wp-content\plugins\wp-mail-smtp\vendor_prefixed\guzzlehttp\guzzle\src\Handler\StreamHandler.php
[line] 227
[message] fopen(https://oauth2.googleapis.com/token): failed to open stream: No such file or directory
[file] C:\wamp-2.5\www\genmtc\wp-content\plugins\wp-mail-smtp\vendor_prefixed\guzzlehttp\guzzle\src\Handler\StreamHandler.php
[line] 227
“stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failurestream_socket_client(): Failed to enable cryptostream_socket_client(): Unable to connect to ssl://www.wponlinesupport.com:443 (Unknown error)”
I’m tying to activate Timeline and History Slider Pro v1.6
Is there anyway to fix this problem? thanks a lot
]]>cURL error 60: SSL certificate problem: certificate has expired
error when connecting to GMB, refreshing the location list, or when creating GMB posts.
Don’t worry, there is nothing wrong with the SSL certificate on your website! The plugin thinks our SSL certificate has expired.
The problem is caused by a recent update at “LetsEncrypt” which provides the SSL certificate for the Post to Google My Business plugin.
While I can’t currently offer a guaranteed fix for the problem, make sure you’re running a compatible version of WordPress (5.3+), PHP (5.6.26+) and OpenSSL (1.1.0+). Then try reconnecting to Google My Business (Post to GMB > Settings > Google Settings).
~ Koen
]]>