Debian HTTPS

Posted on 2013-12-12
Medium Priority
Last Modified: 2013-12-29

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

Question by:Jack_son_
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 57

Assisted Solution

giltjr earned 1000 total points
ID: 39715791
LVL 19

Assisted Solution

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   *               LISTEN

Author Comment

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

Assisted Solution

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

Accepted Solution

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.

Featured Post

Industry Leaders: 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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

765 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