PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, July 2, 2022

[FIXED] Why the connection appear to be "not secure" on my PHP webapp depolyed on my local XAMPP Apache web server?

 July 02, 2022     apache, https, php, ssl, xampp     No comments   

Issue

I am not so into PHP and I have the following problem.

After that I reinstalled XAMPP each time that I access to a website containing a form into the form field I have something like this:

enter image description here

The warning message says something like that "the connection is not secure. The inserted credential could be vulnerable."

And in the browser URL bar I can see something like:

enter image description here

In this case my application is under a virtual host configured in this way into the C:\xampp\apache\conf\extra\httpd-vhosts.conf file:

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/BeTrivius-Panda"
    ServerName panda.dev
</VirtualHost>

I really don't know if I have to put something related the certificate also into the virtual host configuration or if there could be something else missconfigured on my Apache.

What could be the problem? What am I missing? How can I try to solve it?


Solution

Chrome and Firefox are alerting, if there is no HTTPS, in the newest versions on pages with a login form.

To avoid this, you have to create a Self Signed SSL Certificate and enable SSL in your XAMPP Installation.



Answered By - Eknoes
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing