Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Wildcard SSL

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Wildcard - How can I secure all in their path? I tried the following but did not work: Auth ... UserFile ... ..... If I put in the absolute path ) it will..

Virtual hosts and wildcard SSL certificate - Hi all, I want to set up dynamic virtual hosts with Apache 2.0. I'll be using because the document root will be something like: where customer1 and site2 come from the URL like..

seperate log files for wildcard subdomains - Hi all I have a vhost with a Is it possible to have apache log requests for each subdomain to a seperate log file? to foo.log, to bar.log etc .... thanks dylan
Next:  Apache: newbe mod_rewrite question  
Author Message
user2977

External


Since: Sep 22, 2004
Posts: 9



(Msg. 1) Posted: Tue Apr 19, 2005 3:24 pm
Post subject: Wildcard SSL
Archived from groups: alt>apache>configuration (more info?)

Anyone have an example of setting up a wildcard SSL cert. I know how to
generate the cert and have it signed, etc. Know how to set up a typical
cert in Apache as well, just not sure about a Wildcard cert.

 >> Stay informed about: Wildcard SSL 
Back to top
Login to vote
Jim Hayter

External


Since: Feb 07, 2005
Posts: 81



(Msg. 2) Posted: Tue Apr 19, 2005 3:37 pm
Post subject: Re: Wildcard SSL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 19 Apr 2005 15:24:39 -0400, in alt.apache.configuration, Brian
V Bonini <b-bonini RemoveThis @cox.net> wrote:

 >Anyone have an example of setting up a wildcard SSL cert. I know how to
 >generate the cert and have it signed, etc. Know how to set up a typical
 >cert in Apache as well, just not sure about a Wildcard cert.

You handle it no differently that any other cert. Same setup.

Jim<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Wildcard SSL 
Back to top
Login to vote
user2977

External


Since: Sep 22, 2004
Posts: 9



(Msg. 3) Posted: Tue Apr 19, 2005 4:32 pm
Post subject: Re: Wildcard SSL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 19 Apr 2005 15:37:41 -0400, Jim Hayter wrote:
 > You handle it no differently that any other cert. Same setup.

Given this scenario how do you allocate a different DocumentRoot,
ErrorLog, ScriptAlias, etc.? I know this is somethign really stupid and
I'm just having a brain fart but...

Listen 443
NameVirtualHost *:443
<VirtualHost _default_:443>
DocumentRoot /usr/local/www/vhosts/domain.com/htdocs
ServerName domain.com
ServerAlias <a style='text-decoration: underline;' href="http://www.domain.com" target="_blank">www.domain.com</a>
ServerAdmin webmaster DeleteThis @domain.com
LogFormat COMBINED
ErrorLog /usr/local/www/vhosts/domain.com/logs/error_log
TransferLog /usr/local/www/vhosts/domain.com/logs/access_log
HostNameLookups off
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/www/ssl/www.domain.com.crt
SSLCertificateKeyFile /usr/local/www/ssl/www.domain.com.key
<Files ~ ".(cgi|shtml|phtml|php3?) >
SSLOptions +StdEnvVars
</Files>
<Directory "/usr/local/www/vhosts/domain.com/htdocs">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin /usr/local/www/vhosts/domain.com/cgi-bin
<Directory "/usr/local/www/vhosts/domain.com/cgi-bin">
AllowOverride None
SSLOptions +StdEnvVars
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Wildcard SSL 
Back to top
Login to vote
Jim Hayter

External


Since: Feb 07, 2005
Posts: 81



(Msg. 4) Posted: Wed Apr 20, 2005 1:25 pm
Post subject: Re: Wildcard SSL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 19 Apr 2005 16:32:33 -0400, in alt.apache.configuration, Brian
V Bonini <b-bonini.DeleteThis@cox.net> wrote:

 >On Tue, 19 Apr 2005 15:37:41 -0400, Jim Hayter wrote:
  >> You handle it no differently that any other cert. Same setup.
 >
 >Given this scenario how do you allocate a different DocumentRoot,
 >ErrorLog, ScriptAlias, etc.? I know this is somethign really stupid and
 >I'm just having a brain fart but...

I don't understand exactly what you are having a problem with. I use
two separate configs - one for http on port 80 and one for https on
port 443. They both use the same include file to pull in all the
virtual hosts. Each virtual host has this:

<IfDefine SSL>
SSLEngine on
SSLCertificateFile conf/ssl.crt/STAR_domain_com.crt
SSLCertificateKeyFile conf/ssl.crt/STAR_domain_com.key
</IfDefine>

It works fine for me. I'm running Apache 1.3.33. I'd like to be able
to combine the two separate servers into one. But when I try, all the
https requests appear to go to the first virtual host.

HTH,
Jim<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Wildcard SSL 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]