Page 1 of 1

SSL in Xampp 1.8.2-6

PostPosted: 11. November 2023 19:31
by Binabik1978
Good afternoon, I have a server that has the version of xammp for Linux 1.8.2-6 installed and has a web application installed in localhost mode from which you can
access via the public IP due to a redirection of port 80 to the internal IP of the server through the router, as well as logically it can be accessed internally from the internal IP of the server, but in both cases it is accessed without https as it does not have installer an ssl certificate, how can I install a certificate so that it can be accessed from both the internal IP and the
IP publishes via https?

Thank you so much

All the best.

Re: SSL in Xampp 1.8.2-6

PostPosted: 11. November 2023 22:31
by Nobbie
You cannot access SSL (https:) via IP, you *MUST* have a domain name which is linked to your IP.

After then you must get a valid SSL certificate from a known provider and follow the installation instructions. All providers require you to prove that your server belongs to the named domain. This is not trivial. Only when you have cleared this hurdle will you receive an official SSL certificate, which you can integrate into Xampp. In the httpd-ssl.conf file you will find an example of where the certificates are integrated.