Announcement

Collapse
No announcement yet.

How to disable verify certificate for sending email

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to disable verify certificate for sending email

    I have tried to send email from my own postfix server. But I have a problem with my certificate.
    Therefore I need to disable verification. Please help me how to do this.

    [2024-05-27 06:54:15] WARNING: E_WARNING: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificat e verify failed {"code":2,"message":"stream_socket_enable_crypt o() : SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificat e verify failed","file":"/opt/espocrm/vendor/laminas/laminas-mail/src/Protocol/Smtp.php","line":297}
    [2024-05-27 06:54:15] ERROR: Email sending error: Unable to connect via TLS
    [2024-05-27 06:54:15] WARNING: Email sending:unknownError; 0​

  • #2
    Disabling makes no sense and breaks the rules.

    If your EspoCRM-Server is Linux based e.g. Debian, copy your crt file (Public Key) from your Certficate Authoritiy to:
    /usr/local/share/ca-certificates/

    Example: your-ca.crt

    From console type:
    update-ca-certificates​

    If reply is "1 added" it is done.

    Note: The crt must be from your CA, not from your Mailserver.

    Comment

    Working...
    X