Error : warning: TLS library problem: 2023

From DevOps Notebook

PHP fails to verify peer certificate because unknown CA.
This can be fixed by adding correct certificate or
by removing verify in config.inc.php of roundcoube

$config['smtp_conn_options'] = array(
  'ssl'         => array(
     'verify_peer'      => false,
     'verify_peer_name' => false,
  ),
);