MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: fossxplorer on 2016-06-11, 00:10:10

Title: Add TLS support to webmail
Post by: fossxplorer on 2016-06-11, 00:10:10
@Mustafa, can you please add support for https://webmail.mydomain.com/roundcube/ on Kloxo-MR?
I can't see this is a big task?
We can't have plaintext sending of passwords in 2016.
If you need help, please let me know.

PLEASE DO IT.

Are you also planning to have a more open development process of Kloxo-MR in the future? So you can get PR (pull requests) and more community involvement.
Like other successful FOSS projects on GitHub?

Title: Re: Add TLS support to webmail
Post by: MRatWork on 2016-06-11, 05:46:49
Check '/home/kloxo/httpd/webmail/roundcube/config/config.php'.

If you want involve for webmail feature, inform what's you do.
Title: Re: Add TLS support to webmail
Post by: fossxplorer on 2016-06-11, 10:19:49
/home/kloxo/httpd/webmail/roundcube/config/config.php is ONLY related to roundcube.
I'm talking about TLS to access webmail on Kloxo-MR.
So Kloxo-MR needs sto configure TLS certificates for webmail.mydomain.com and it should be mandatory as long as there is a TLS certificate for that domain.

I can take a look at this if you tell me which files are involved in setting up virtualhosts e.g
 /opt/configs/hiawatha/conf/proxies/mydomain.com.conf



Check '/home/kloxo/httpd/webmail/roundcube/config/config.php'.

If you want involve for webmail feature, inform what's you do.
Title: Re: Add TLS support to webmail
Post by: MRatWork on 2016-06-11, 10:23:36
Hi, if you create letsencrypt ssl, "SAN' are domain, www.domain, cp.domain and webmail.domain by default. So, ssl for webmail including by default.
Title: Re: Add TLS support to webmail
Post by: fossxplorer on 2016-06-11, 10:31:07
Hmm, it seems the TLS support for webmail is already there, yes.
...
## webmail for 'mydomain.com'                                                                                                                                                                                     
VirtualHost {
        RequiredBinding = port_ssl

        Alias = /.well-known:/var/run/letsencrypt/.well-known
        UseDirectory = well_known

        TLScertFile = /home/kloxo/ssl/mydomain.com.pem

        SecureURL = no
  ...
                                                                                                                                                                                       
Sorry for not seing this.

Now i just need to find a way to redirect to TLS webmail automatically.