Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 and mod_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
msb21
n00b
n00b


Joined: 24 Aug 2002
Posts: 47

PostPosted: Sun Oct 26, 2003 3:28 am    Post subject: Apache2 and mod_ssl Reply with quote

I have Apache2 running with mod_php. I want to use SSL as well. Part of my USE flags include ssl. With Apache 1.3.x it was installed and configured automatically. This appears to not be the case with Apache2.
Can someone provide me with some pointers to get SSL propery configured so that my DocumentRoot is viewable via https as well? Thanks.
Back to top
View user's profile Send private message
Air-Op
n00b
n00b


Joined: 02 Apr 2003
Posts: 52

PostPosted: Sun Oct 26, 2003 8:23 am    Post subject: Reply with quote

I don't know, it all stoped working on my machine... but I'm still using apache 1.3...

add apache2 to your use flags?

one of these modules can only be built for one version of apache...

Witch brings the point... why don't we have slots for incompatible use flags?
Back to top
View user's profile Send private message
msb21
n00b
n00b


Joined: 24 Aug 2002
Posts: 47

PostPosted: Wed Oct 29, 2003 4:16 am    Post subject: Reply with quote

It seems that for Apache 1.3.x that the certificates where automatically generated for you. This is not the case with Apache2. You need to create the cerficates, which I did and my apache info page http://localhost/server-info does show that mod_ssl has been loaded, but when I try to connect to https://localhost/, I get a connection error.

Any ideas? Thanks!
Back to top
View user's profile Send private message
msb21
n00b
n00b


Joined: 24 Aug 2002
Posts: 47

PostPosted: Wed Oct 29, 2003 4:28 am    Post subject: SOLVED Reply with quote

See this tutorial for mod_ssl

http://www.informit.com/isapi/product_id~%7B671AE0C6-78CE-45D9-928E-4A603897EA75%7D/element_id~%7B47BADE63-75BB-410F-8317-EAB0F6181F55%7D/st~%7B3975F324-BD32-4096-B98A-7E4979DE6CCF%7D/session_id~%7B800159CB-8153-4F8B-8752-5616132F4C72%7D/content/articlex.asp

I had to change the startup script because I created the cert with a .cert extension not a .crt extention.
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