Solved

Debian HTTPS

Posted on 2013-12-12
5
216 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 250 total points
ID: 39715791
0
 
LVL 19

Assisted Solution

by:xterm
xterm earned 250 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 250 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 250 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
The viewer will learn how to dynamically set the form action using jQuery.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now