On Sun, Jan 2, 2011 at 12:59 PM, Eric Covener <covener@xxxxxxxxx> wrote: > On Sun, Jan 2, 2011 at 2:21 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote: >> Apache 2: >> >> I have a need to add multiple certs and keys to a given virtual host. >> I don't see a way to add multiple keys or certs to one virtual host. >> For eg: key and cert for abc.com and def.com in <VirtualHost >> 10.10.10.101:80> >> >> Is there a way to do this? For java security for eg we use keytool. >> Can someone please suggest how to do it if it possible? > > The closest you can get is the SNI support in Apache, which will > require separate virtual hosts. > > http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI Is there no way to import all the certs and keys into one file and then just use that one file in VirtualHost? For eg: export all certs in certs.crt and keys.crt for abc.com and def.com and then use it in httpd conf file: SSLCertificateFile /usr/local/apache2/conf/ssl.crt/certs.crt SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/keys.key Trying to see the easiest way of doing it. > > >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> >> > > > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx