[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

How to get HTTPS with xampp and PHP

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
Etdashou
Asked:
Etdashou
  • 5
  • 3
  • 2
1 Solution
 
Ray PaseurCommented:
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
 
EtdashouAuthor Commented:
Wait,

So there is no way to fix this display? If I stay with my current environment?
0
 
MarkysonCommented:
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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Ray PaseurCommented:
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
 
EtdashouAuthor Commented:
For "fun",

Where do I buy this kind of certificate.
0
 
MarkysonCommented:
See: GoDaddy
0
 
Ray PaseurCommented:
Buy it from your hosting service!  
0
 
EtdashouAuthor Commented:
I will get this certificate soon. However I may need help to configure it.
I will let you know.
0
 
EtdashouAuthor Commented:
Well everything should be ok.

This have been taken care by someone else at my job.
We can close this question..
0
 
EtdashouAuthor Commented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now