Some logo fixes and ability to use selfsigned certs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
if (filter_var(getenv('ROUNDCUBE_ALLOW_SELF_SIGNED_CERT'), FILTER_VALIDATE_BOOLEAN)) {
|
||||
$tls_options = [
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false,
|
||||
'allow_self_signed' => true,
|
||||
];
|
||||
|
||||
$config['imap_conn_options'] = ['ssl' => $tls_options];
|
||||
$config['smtp_conn_options'] = ['ssl' => $tls_options];
|
||||
}
|
||||
Reference in New Issue
Block a user