Windows 10: SSL certificate locations when using an Xampp localhost setup

Discus and support SSL certificate locations when using an Xampp localhost setup in Windows 10 Software and Apps to solve the problem; Background: Windows Version: Windows 10 Pro Version 1909, OS build 18363.1082 with a Wordpress website (copied from a running on-line site) running on... Discussion in 'Windows 10 Software and Apps' started by fordtman, Sep 15, 2020.

  1. fordtman Win User

    SSL certificate locations when using an Xampp localhost setup


    Background: Windows Version: Windows 10 Pro Version 1909, OS build 18363.1082 with a Wordpress website (copied from a running on-line site) running on an Xampp/Apache localhost environment.

    I am trying to implement a secure localhost environment (because I copy my secure online website to my localhost environment) and it works fine in non-secure mode (HTTP://) but does not work in secure mode (HTTPS://). I get the deadly "your connection isn't private" message using HTTPS:// on Edge. To get rid of this message I have created a self signed Certificate Authority and added it to the Trusted Root Certificate Authorities store in Windows. I also created a Private Key (localhost.Key) and issued a new local certificate (localhost.crt) using the Root SSL certificate I created but I am not sure where localhost.key and localhost.crt go in the localhost configuration. Do I add them to httpd-ssl.conf, openssl.cnf or somewhere else? This part of the process does not appear to be covered on the internet sites I have looked at, and there was a lot of them. Actually I am also at a bit of a miss as to how SSL works in a local host development environment and how it ties into a locally installed Wordpress website (with SSL plugin installed).

    Any help in finishing off this project would be appreciated.

    :)
     
    fordtman, Sep 15, 2020
    #1
  2. jFax Win User

    XAMPP on Windows 10

    You can change the port of apache:

    • Go to C:\xampp\apache\conf\httpd.
    • Find by combination Ctrl+F line #Listen 12.34.56.78:80 and change the 80 to any you like for example 81
    • The same with Listen 80 change to 81
    • The same with ServerName localhost:80 change to 81.
    • Go to C:\xampp\apache\conf\extra\httpd-vhosts and change 80 to 81
    NameVirtualHost *:80 here

    VirtualHost *:80 and here (two times)

    • Restart apache
    To enter your web page type:
    http://localhost:81/index.html
     
  3. franz777 Win User
    Localhost not working after solving start problems on apache Xampp

    Recently I encountered problems on Xampp 3.2.4 where my Apache shutdown unexpectedly. So I did change the configurations of port and ssl on configuration settings. So it is now working. When I tried to login on my localhost I change the localhost address with the new port from 80 to 8080. Ex. localhost:8080/Wp-admin but can't login. I encountered an error saying "HTTP Error 404. The requested resource is not found". I hope somebody can help me with this so I can get back on track with my project.

    In solving problems on my apache, I did follow this link: . Yes it is working but unfortunately, I can't login with my localhost since I change the port.

    Appreciate your help. Thanks
     
    franz777, Sep 15, 2020
    #3
  4. SSL certificate locations when using an Xampp localhost setup

    ssl certificates

    Hi Richard,

    This error message SSL certificates could have happened due to several reasons like browser security certificates or outdated browser. We would like to know more about the issue by asking the following questions below:

    • Have you tried deleting and clear the cache?
    • What browser are you using?
    • Have you tried using another browser?
    • Have you tried contacting your software developer?

    We look forward to your response to our queries.
     
    Anthony Gal, Sep 15, 2020
    #4
Thema:

SSL certificate locations when using an Xampp localhost setup

Loading...
  1. SSL certificate locations when using an Xampp localhost setup - Similar Threads - SSL certificate locations

  2. Renew SSL certificates on Win10?

    in Windows 10 Network and Sharing
    Renew SSL certificates on Win10?: Hay, every now and then I get the hint while surfing that the https certificate is invalid. I have also checked and found that certain certificates have expired. How can I have them renewed? Have read where since Win10 2004 something has changed. Auf Win10 SSL-...
  3. Localhost not working after solving start problems on apache Xampp

    in Windows 10 Network and Sharing
    Localhost not working after solving start problems on apache Xampp: Recently I encountered problems on Xampp 3.2.4 where my Apache shutdown unexpectedly. So I did change the configurations of port and ssl on configuration settings. So it is now working. When I tried to login on my localhost I change the localhost address with the new port...
  4. Application using expired SSL Certificate on my computer...

    in Windows 10 Network and Sharing
    Application using expired SSL Certificate on my computer...: Well - it has come to this. I throw myself at the mercy of the smarter masses. Here is the situation in as best I can describe it. Understanding that I do not know how certificates work and I am not a OS Guru - just a plain user who is now stuck like deer in headlights....
  5. SSL issues in Virtual Machines when using HyperV

    in Windows 10 Network and Sharing
    SSL issues in Virtual Machines when using HyperV: Hi all, I've been using HyperV to host virtual machines I need for work, but no matter what Linux distribution I am running, I am encountering SSL errors whenever I reach out to remote endpoints. This seems to reliably happen whenever distributions need to perform updates....
  6. Error in Xampp

    in Windows 10 BSOD Crashes and Debugging
    Error in Xampp: Hello, I am facing a problem in my XAMPP, I am getting an error message on starting MySql Server, it was running fine before and i did not installed any other application from that time. So, please check if it is windows problem and how it can be fixed. I am attaching a...
  7. Windows 10 SSL not working when used via commandline

    in Windows 10 Network and Sharing
    Windows 10 SSL not working when used via commandline: Because of this issue e.g. owncloud client is not working on this machine. Issue can be reproduced using wget.exe which seems to use same ssl component. Port 443 is not blocked outgoing, verified by 'telnet hostname 443'. I'd like to mention, all browsers are working without...
  8. how to use certificates

    in Windows 10 Installation and Upgrade
    how to use certificates: how to use certificates and properly install them on a windows 10 system? https://answers.microsoft.com/en-us/windows/forum/all/how-to-use-certificates/d8c6a6d2-77b8-44f9-a9b9-a2b9d356a3eb
  9. localhost

    in Windows 10 Network and Sharing
    localhost: I am still not able to configure localhost in windows 10. I am web developer https://answers.microsoft.com/en-us/windows/forum/all/localhost/ab2ec8c7-6da0-4753-b640-691c4254c5ac
  10. no ssl checkboxes in advanced settings ( security certificate check)

    in Windows 10 Software and Apps
    no ssl checkboxes in advanced settings ( security certificate check): hi guy's my account settings are not up-to-date for email and agenda for windows 10 it says hen i try to open my Gmail-account in outlook. so i found that i have to check my security certificate (see below ) , i have to go to advanced settings and check the boxes for...