Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

Debian HTTPS

Hi,

I am using apache and php, is there something that needs to be set for https to work correctly?

THanks,
0
Jack_son_
Asked:
Jack_son_
  • 2
  • 2
4 Solutions
 
giltjrCommented:
0
 
xtermCommented:
No, SSL is enabled by default usually, but if it's not, run:

sudo a2enmod ssl

You can check if it's running by doing:

netstat -na | grep :443

It should look like this:

xterm@dellxps:~$ netstat -na | grep :443
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
0
 
Jack_son_Author Commented:
okay thanks; also do i need to add anything for php?
0
 
giltjrCommented:
Not to deal with SSL.  Apache will do all the SSL communications with the browser.
0
 
xtermCommented:
You mentioned in the original post that you're running Apache/PHP so I assume that part is already working.

If that's the case, PHP needs nothing - it is only executed after the browser has successfully negotiated a SSL stream with Apache.
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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now