Debian HTTPS

Hi,

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

THanks,
Jack_son_Asked:
Who is Participating?
 
xtermConnect With a Mentor Commented:
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
 
giltjrConnect With a Mentor Commented:
0
 
xtermConnect With a Mentor Commented:
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
 
giltjrConnect With a Mentor Commented:
Not to deal with SSL.  Apache will do all the SSL communications with the browser.
0
All Courses

From novice to tech pro — start learning today.