Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I configure an apache SSL-only server?
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
dsegel
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 127

PostPosted: Thu Jun 22, 2006 9:47 pm    Post subject: How do I configure an apache SSL-only server? Reply with quote

And should I put the configuration file under vhosts (where the non-SSL host examples are defined) or modules (where the SSL host examples are)? I keep getting:

Init: (shs.ucdavis.edu:443) You configured HTTP(80) on the standard HTTPS(443) port!

errors no matter how I set it up.

My /etc/conf.d/apache options are: APACHE2_OPTS="-D SSL -D PROXY -D PROXY_HTML -D PHP5"
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Fri Jun 23, 2006 4:19 pm    Post subject: Reply with quote

Have you looked at this guide? It might help you.

http://gentoo-wiki.com/SSL
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Fri Jun 23, 2006 9:57 pm    Post subject: Reply with quote

You need to define you SSL host in /etc/apache2/modules.d/41_mod_ssl.default_host.conf (may be named slightly differently). You can't do name-based virtual hosting with SSL.

Your error messages suggests that you tried to run normal http on port 443, but that won't ever give you SSL.
_________________
lxg.de – codebits and tech talk
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