Page 1 of 1

How to enable SSL on Webmail ?

Posted: Thu Mar 20, 2014 2:19 pm
by FirstVM.com
Hi,

The webmail is default plantext html. I want to use ssl. I already have a ssl certificate.

How to enable ssl on Webmail ?

Re: How to enable SSL on Webmail ?

Posted: Thu Mar 20, 2014 9:42 pm
by lekr32
hello, if you are using debian os, try this method.
1.edit this file;

Code: Select all

/etc/exim4/exim4.conf.template
2.find out following lines;

Code: Select all

# tls_advertise_hosts = *
# tls_certificate = /usr/local/vesta/ssl/certificate.crt
# tls_privatekey = /usr/local/vesta/ssl/certificate.key
3. and uncomment, it should looks like this

Code: Select all

 tls_advertise_hosts = *
 tls_certificate = /usr/local/vesta/ssl/certificate.crt
 tls_privatekey = /usr/local/vesta/ssl/certificate.key
I can't be sure, it will work, because I used this method some time ago, and now i can't try it, come back when problem will be still already :)

Re: How to enable SSL on Webmail ?

Posted: Fri Mar 21, 2014 1:31 pm
by FirstVM.com
lekr32 wrote:hello, if you are using debian os, try this method.
1.edit this file;

Code: Select all

/etc/exim4/exim4.conf.template
2.find out following lines;

Code: Select all

# tls_advertise_hosts = *
# tls_certificate = /usr/local/vesta/ssl/certificate.crt
# tls_privatekey = /usr/local/vesta/ssl/certificate.key
3. and uncomment, it should looks like this

Code: Select all

 tls_advertise_hosts = *
 tls_certificate = /usr/local/vesta/ssl/certificate.crt
 tls_privatekey = /usr/local/vesta/ssl/certificate.key
I can't be sure, it will work, because I used this method some time ago, and now i can't try it, come back when problem will be still already :)



Hi,

Thanks for your reply. My server is running Ubuntu 13.04.
I just re-installed Vestacp minutes ago. And I found ssl is supported on webmail now. It's interesting.

I just checked this file:

Code: Select all

/etc/exim4/exim4.conf.template
It still like this:

Code: Select all

# tls_advertise_hosts = *
# tls_certificate = /usr/local/vesta/ssl/certificate.crt
# tls_privatekey = /usr/local/vesta/ssl/certificate.key
Very interesting.

Re: How to enable SSL on Webmail ?

Posted: Tue Sep 06, 2016 7:27 pm
by mephivio
ok perfect
but if you have several domains ? how to setup it ?