Re: [Dovecot] Dovecot replies with default SSL certificate instead of the vhost's

2013-09-16 Thread Shadi Habbal
@Jeroen: very well explanation, thank you very much. The company I work for rented a VPS through digitalocean.com, and DO don't yet provide more than 1 IP per droplet (vps). The company have few domains with few services, but, different business types and different associates. They can't real

Re: [Dovecot] Dovecot replies with default SSL certificate instead of the vhost's

2013-09-16 Thread Shadi Habbal
After some digging, Subject Alternative Names (SANs) is the way to have one certificate which holds many domain names in the SubjectAltNames field. Here is a script to generate a CSR that holds different SANs: http://svn.cacert.org/CAcert/Software/CSRGenerator/csr For more information: http://w

Re: [Dovecot] Dovecot replies with default SSL certificate instead of the vhost's

2013-09-15 Thread Shadi Habbal
ate instead > of the vhost's > > > > Am 15.09.2013 23:45, schrieb Shadi Habbal: >> I'm using dovecot v2.0.21. >> >> According to http://wiki2.dovecot.org/SSL/DovecotConfiguration, >> dovecot 2.x supports different SSL certificate for different virtua

Re: [Dovecot] Dovecot replies with default SSL certificate instead of the vhost's

2013-09-15 Thread Shadi Habbal
Sorry for the mess, forgot to change the formatting to plain text. I'm using dovecot v2.0.21. According to http://wiki2.dovecot.org/SSL/DovecotConfiguration, dovecot 2.x supports different SSL certificate for different virtual hosts by using "local_name" directive, but I can't get it to work.

[Dovecot] Dovecot replies with default SSL certificate instead of the vhost's

2013-09-15 Thread Shadi Habbal
Hello, I'm using dovecot v2.0.21. According to http://wiki2.dovecot.org/SSL/DovecotConfiguration,dovecot 2.x supports different SSL certificate for different virtual hosts by using "local_name" directive, but I can't get it to work. When testing the certificate using "openssl s_client -connect do