Description
I work on a macbook (Catalina 10.15.7) and develop a webapp on my local machine. I use the mailtrap.io email testing service to check outgoing emails. I haven't changed anything, but a few days ago the mailtrap service gives back the below error message:
ErrorException stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:94
Mailtrap advises the following:
Regarding SSL error while trying to send emails to Mailtrap: You are not alone. Please update your OpenSSL version You might hear about the global issue with Letsencrypt certificates: its old root certificate expired on Sep 30. Mostly it impacted clients who use OpenSSL versions prior 1.1.0. The most common solution is to update your OpenSSL. If you can’t do that read the recipe for v.1.0.2 from OpenSSL.
Reading the linked article did not really help me to solve the problem, but its sounds that I have to update openssl on my machine. Running "openssl version" told me that I have LibreSSL 2.8.3 on my machine, so I assume that this is what I need to update not openSSL.
Checking the libreSSL release notes it seems that there already a fix for this problem.
I tried to update my libreSSL by running "brew install libressl", but it seems that it installed another instance and "openssl version" gives back the same version number.
Am I on the right track? Should I update LibreSSL to the latest version? How do I do that? Are there any side-effects? I'm a little concerned that I mess-up my mac with this procedure.
Any advice would be highly appreciated, W.