I'm having problems trying to send email using the CodeIgniter Library, trying to trigger the email I get the following error:
Severity: Warning
Message: stream_socket_enable_crypto (): SSL operation failed with code 1. OpenSSL Error messages: error: 14090086: SSL routines: ssl3_get_server_certificate: certificate verify failed
My scenario :
Linux CentOS Server release 7.4.1708 (Core)
PHP 7.2.5 (cli) (built: Apr 24 2018 19:12:06) (NTS)
OpenSSL 1.0.2k-fips 26 Jan 2017
Let's Encrypt installed
The mail server is local, Microsoft with TLS enabled.
I followed several examples but did not move.
Note: Same settings on common hosting servers, works seamlessly.