I have configured as follows and get the following error
also when configuring it with php I have the following error
Connection could not be established with host mail.menita.com.mx :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
You appear to have an Origin certificate installed. Thats good, however only works in a proxied context, unless you specifically trust its root certificate.
There are four options
Connect to the proxies, instead of directly.
Configure a publicly valid certificate on your server, instead of the Origin certificate.
Configure your client to trust the Origin’s root certificate.
Configure your client to skip the certificate validation.
You are currently connecting to your “mail” record, right? You could either switch that to but that might break your mail configuration, otherwise simply connect to one of the proxied records instead (e.g. www).
Is that screenshot from before from your mail client?
In that case you cant go the proxied way. Only options 2 to 4 will be available in this case or you disable the secure connection in your mail client altogether.