[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual Hosts con Apache-SSL



OK. Esa era mi duda ...
Muchas gracias.

--- Jaume Teixi <teixi@6tems.com> escribió: > Carlos
López wrote:
> 
> > Es precisamente lo que quiero hacer. Serán
> servidores
> > basdos en IP, pero el problema lo veo a la hora de
> > generar el certificado... ¿como puedo hacerlo para
> que
> > no se solapen?
> 
> entonces debes especificar el path a cada
> certificado mediante
> SSLCertificateFile y SSLCertificateKeyFile
> 
> <IfModule mod_ssl.c>
> Listen 80
> Listen 443
> NameVirtualHost X.X.X.X:443
> NameVirtualHost X.X.X.Y:443
> AddType application/x-x509-ca-cert .crt
> AddType application/x-pkcs7-crl    .crl
> </IfModule>
> 
> <VirtualHost X.X.X.X:443>
>         ServerName                               
> x.com
>         DocumentRoot                       
> /var/www/x
>         <IfModule mod_ssl.c>
>                 SSLEngine on
>                 SSLCertificateFile
> /etc/apache/certs/server_x.crt
>                 SSLCertificateKeyFile   
> /etc/apache/certs/server_x.key
>                 SetEnvIf User-Agent ".*MSIE.*"
> nokeepalive
> ssl-unclean-shutdown
>         </IfModule>
> </VirtualHost>
> 
> <VirtualHost X.X.X.Y:443>
>         ServerName                               
> y.com
>         DocumentRoot                       
> /var/www/y
>         <IfModule mod_ssl.c>
>                 SSLEngine on
>                 SSLCertificateFile
> /etc/apache/certs/server_y.crt
>                 SSLCertificateKeyFile   
> /etc/apache/certs/server_y.key
>                 SetEnvIf User-Agent ".*MSIE.*"
> nokeepalive
> ssl-unclean-shutdown
>         </IfModule>
> </VirtualHost>
> 
> salu2
> 
> --
> Jaume Teixi
>     CTO
>     6TEMS - Ducform, SA
>     http://www.6tems.com
> 
> 
> 


_________________________________________________________
Do You Yahoo!?
Obtenga su dirección de correo-e gratis @yahoo.com
en http://correo.espanol.yahoo.com



Reply to: