Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to get HTTPS with xampp and PHP

Posted on 2010-11-29
10
Medium Priority
?
468 Views
Last Modified: 2012-05-10
Hello,

I am currently using XAMPP and building PHP pages. I am trying to open my pages with https instead of http.
Example: https://mypage.com vs http://mypage.com

However, when I do so I have a warning from Firefox or IE, saying that the website doesn't have a certificate. It asks me "Are you sure you want to continue, etc."

In the "More details" section of the Firefox warning I have the following (sorry translate from french):
The certificate is not valid because it is auto-signed
The certificate is only valid for localhost
The certificate expired on 2006-12-04 10:11

The website is Intranet only.

I am not sure what I should do to solve this situation and I would greatly appreciate any help.
Thank you
0
Comment
Question by:Etdashou
[X]
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
  • 5
  • 3
  • 2
10 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 34232285
If you're just running on localhost in a test environment, accept the warnings and embrace the bogus certificate!

If you're running in a paid hosting environment, contact your hosting provider.  You will need your own IP address and you will need to buy a certificate from a reputable authority.
0
 
LVL 1

Author Comment

by:Etdashou
ID: 34232363
Wait,

So there is no way to fix this display? If I stay with my current environment?
0
 

Expert Comment

by:Markyson
ID: 34232522
You could buy a ssl certificate for your server but these are expensive and above all useless if you are only running an intranet application.
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 111

Expert Comment

by:Ray Paseur
ID: 34233244
I have used LiquidWeb hosting for sites that needed both http and https.  They have great support, are reasonably priced and best of all, the SSL certificates worked seamlessly.  But be prepared to pay for it; SSL certs are not cheap.  That's because they are valuable in that they protect your data and your client's data, and they build trust.
0
 
LVL 1

Author Comment

by:Etdashou
ID: 34233655
For "fun",

Where do I buy this kind of certificate.
0
 

Expert Comment

by:Markyson
ID: 34233692
See: GoDaddy
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 34235525
Buy it from your hosting service!  
0
 
LVL 1

Author Comment

by:Etdashou
ID: 34247933
I will get this certificate soon. However I may need help to configure it.
I will let you know.
0
 
LVL 1

Accepted Solution

by:
Etdashou earned 0 total points
ID: 34268806
Well everything should be ok.

This have been taken care by someone else at my job.
We can close this question..
0
 
LVL 1

Author Closing Comment

by:Etdashou
ID: 34941312
I am sorry, but someone at my job took care of this problem and I don't know what exactly have been done...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

688 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