Apache SSL

Hi, people i configure a ssl in a site.
I don,t know why but if i try to enter it with the https it tell me that there is a security certificate but it don,t show the page, it give an error of " Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403"

If i click over the Lock at the right it show me the certificate information.

What i,m missing ?
LVL 1
cano63Asked:
Who is Participating?
 
Dave HoweSoftware and Hardware EngineerCommented:
on my server, the http and the https sites are separate files in /etc/apache2/sites; depending on installation platform, I have also seen the config in a file called "httpd-ssl.conf"

the key is that there is a section <Virtualhost -hostname-:443> with the token "SSLEngine on" on it; that must have the same "DocumentRoot" token as the main site, and may require any <Directory> subsections too (normally it can inherit those from Main though)
0
 
ahoffmannCommented:
can you access the same URL with http?
0
 
Dave HoweSoftware and Hardware EngineerCommented:
normally the https is actually counted as an entirely different site by the apache engine; at a guess therefore, you have correctly set up the ssl certificate, but not copied the document root and permissions to this second site, so it doesn't know where to look for its documents.
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
giltjrCommented:
0
 
cano63Author Commented:
ahoffmann: yes i,m able to access it with http.
DaveHowe: do youy know where i configure the access for the https site
0
 
giltjrCommented:
Since you seem to be running tomcat, the link I provided tell you how to configure Apache/Tomcat for https.
0
 
cano63Author Commented:
My Document root was wrong in the 443 host. thanks a lot
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.