Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 2 + SSL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bart
n00b
n00b


Joined: 13 Apr 2002
Posts: 60

PostPosted: Wed Dec 25, 2002 10:21 pm    Post subject: Apache 2 + SSL Reply with quote

Hi, today I installed Apache 2.0.43-r1 and all addition stuff like mod_php and mod_perl. PHP is working very well, perl looks like it's working (didn't pay much attention to it yet) but I've some troubles setting up SSL for my https vhost.
I know that it's not needed anymore to use mod_ssl anymore because ssl is now part of Apache base install. But how to set up a https virtual host?
Back to top
View user's profile Send private message
bart
n00b
n00b


Joined: 13 Apr 2002
Posts: 60

PostPosted: Wed Dec 25, 2002 11:37 pm    Post subject: Reply with quote

SSL is working fine:
Code:
 # apache2ctl status
<snip>
 Server Version: Apache/2.0.43 (Gentoo/Linux) mod_ssl/2.0.43
          OpenSSL/0.9.6g PHP/4.2.3
<snip>


I think my vhosts.conf should be something like:
Code:

<snip (all normal and good working vhosts)>
<VirtualHost *>
  DocumentRoot /bla/bla
  ServerName blabla
  SSLEngine on
  SSLCipherSuite bla:bla
  SSLCertificateFile bla/bla
  SSLCertificateKeyFile bla/bla
</VirtualHost>


But when I type in my browser "https:/blabla/" the browser (Galeon) does nothing, no error, nothing...
Back to top
View user's profile Send private message
indros
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 139

PostPosted: Fri Dec 27, 2002 5:21 pm    Post subject: Reply with quote

I remember trying to do this a while back with apache 1 but I don't think you can do a name-based virtual ssl host. I will try to find that again, and post a little more info for you...

EDIT:
I've found no official links, however, here are some other that may explain why you can't do it.

http://groups.google.com/groups?q=name+virtual+host+ssl&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3910db89%241%40news.netos.com&rnum=1


http://groups.google.com/groups?q=name+virtual+host+ssl&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3BE0151B.B139E59D%40indiana.edu&rnum=7
Back to top
View user's profile Send private message
copy
n00b
n00b


Joined: 22 Dec 2002
Posts: 16
Location: Stockholm, Sweden

PostPosted: Sat Dec 28, 2002 4:34 am    Post subject: Reply with quote

Since apache 2 is unstable, use apache 1 if you dont really want to try apache 2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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