Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssl and apache 2 don't work, 403 forbidden error
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
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Thu Jun 10, 2004 4:16 pm    Post subject: ssl and apache 2 don't work, 403 forbidden error Reply with quote

Ok,

The website I'm hosting runs apache2. I have generated the ssl certificates already and put them into /etc/apache2/conf/ssl. I also have the following entries in my apache2.conf file:

SSLEngine On
SSLCertificateFile /etc/apache2/conf/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/conf/ssl/server.key

I have also restarted apache2.

I am not doing virtual hosting, because the box hosts one site and will only host one site in the years to come.


Whenever I try to access web-pages on the site using ssl, I always get a message that says "403 Error: This pages is forbidden. You do not have permission to access ...."

Does anyone either

1) What I did wrong in enabling ssl?

2) What more I need to do to view pages while using ssl?

Thanks for any help you can give.
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Thu Jun 10, 2004 5:22 pm    Post subject: Reply with quote

do the same pages still work when using http instead of https
Back to top
View user's profile Send private message
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Thu Jun 10, 2004 5:48 pm    Post subject: Reply with quote

yes, regular http still works
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Thu Jun 10, 2004 6:40 pm    Post subject: Reply with quote

er...I thought regular http worked...I tried restarting apache, and afterwards, regular http just produces blank pages...when I commented out the three SSL lines in my apache2.conf, http worked regularly again.

I still don't know how to get SSL working though, and it is really important to me because I am running squirrelmail and would like to have the session running over https/ssl

Thank yuo for your help.
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Mon Jun 14, 2004 8:04 pm    Post subject: Reply with quote

Anyone able to answer my question? All the tutorials and forum posts and howto's off of google only deal with virtual hosting, which I am not doing (at least I did not configure it).
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
daphil
n00b
n00b


Joined: 14 Aug 2004
Posts: 13

PostPosted: Thu Nov 11, 2004 9:25 pm    Post subject: Same Problem - No Solution Reply with quote

I do have exactly the same problem. On my machine, http works fine but https keeps showing this forbidden error.
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