Debian HTTPS

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

Assisted Solution

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

Author Comment

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

Assisted Solution

giltjr earned 250 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 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.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code not executing correctly. 3 41
phpmyadmin memory error 55 87
Php variable to be sent back 3 30
Posting and receiving data with JSON in PHP 12 31
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This article discusses how to implement server side field validation and display customized error messages to the client.
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

738 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