Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Setup Multiple SSL Certificate

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
alcatel
Posts: 14
Joined: Sat Apr 19, 2014 9:25 pm

Re: Setup Multiple SSL Certificate
  • Quote

Post by alcatel » Mon Oct 06, 2014 8:12 am

Hello, this feature (multiple SSL on single IP address) is called as SNI and in VestaCP should work out of the box without additional changes.
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: Setup Multiple SSL Certificate
  • Quote

Post by mephivio » Mon Feb 02, 2015 8:53 am

Yes it works for web domains ...
but does it works also for exim & dovecot ?
Top

VestaLover
Posts: 36
Joined: Thu Dec 05, 2013 10:55 am

Re: Setup Multiple SSL Certificate
  • Quote

Post by VestaLover » Thu Feb 05, 2015 2:47 pm

Maybe this will help you.

Configuring Exim
By default, Vesta does not install Exim 4 with SMTP TLS support. That means that emails are sent in clear text to the server, and that's not optimal. We'll need to reconfigure Exim with SMTP TLS support. How do we do that?
nano /etc/exim4/exim4.conf.template
You'll notice that the following lines are commented out, just so.
#tls_advertise_hosts = *
#tls_certificate = /usr/local/vesta/ssl/certificate.crt
#tls_privatekey = /usr/local/vesta/ssl/certificate.key
Simply uncomment them! To do that, remove the # preceding the lines that we need to get Exim to work with SSL, as shown below.
tls_advertise_hosts = *
tls_certificate = /usr/local/vesta/ssl/certificate.crt
tls_privatekey = /usr/local/vesta/ssl/certificate.key
Now save the file and restart Exim.
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: Setup Multiple SSL Certificate
  • Quote

Post by mephivio » Thu Feb 05, 2015 6:15 pm

Thank you but i have multiple ssl certificates
For instance, one certificate for mydomain1.com and a second for mydomain2 com
How to manage this context under exim & dovecot ?

JP
Top

VestaLover
Posts: 36
Joined: Thu Dec 05, 2013 10:55 am

Re: Setup Multiple SSL Certificate
  • Quote

Post by VestaLover » Fri Feb 06, 2015 3:00 pm

Like I said above.
Tell Exim to use what SSL for what purpose.

If you use SSL Certificate 1 for your domain you can put it via panel or put in inside /home/$username/conf/web/snginx.conf
ssl_certificate /home/$username/conf/web/sslcertificate1.pem;
ssl_certificate_key /home/$username/conf/web/sslcertificate1.key;
If you are going to use SSL for exim, use the same way:
tls_advertise_hosts = *
tls_certificate = /yourfavorite/location/for/ssl/sslcertificate2.crt
tls_privatekey = /yourfavorite/location/for/ssl/sslcertificate2.key
Then restart EXIM.

Hope this is clear enough for you.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password