moodle stream_socket_enable_crypto() OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate ve code example
Example: stream_socket_enable_crypto(): ssl operation failed with code 1. openssl error messages: error:1416f086:ssl routines:tls_process_server_certificate:certificate verify failed
Try changing the app/config/email.php
smtp to mail