[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Debian HTTPS

Posted on 2013-12-12
5
Medium Priority
?
234 Views
Last Modified: 2013-12-29
Hi,

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

THanks,
0
Comment
Question by:Jack_son_
  • 2
  • 2
5 Comments
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 1000 total points
ID: 39715791
0
 
LVL 19

Assisted Solution

by:xterm
xterm earned 1000 total points
ID: 39718406
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
 

Author Comment

by:Jack_son_
ID: 39718760
okay thanks; also do i need to add anything for php?
0
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 1000 total points
ID: 39718765
Not to deal with SSL.  Apache will do all the SSL communications with the browser.
0
 
LVL 19

Accepted Solution

by:
xterm earned 1000 total points
ID: 39718832
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question