Plesk

Unable to send mail via SSL: warning: TLS library problem: 31990

Symptoms

Cause

SSL CA certificates bundle is missing or corrupted.

Resolution

  1. Install a valid certificate using the article Plesk following the instructions here: How to secure mail server with Let's Encrypt certificate

  2. Connect to the server via SSH.

  3. Run the following command:

    # plesk repair mail

  4. In case this issue still persists, reinstall ca-certificates package.

    For example, for CentOS 6:

    # rpm -Uhv ca-certificates-2010.63-3.el6_1.5.noarch