How to enable https on xampp for linux

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to enable https on xampp for linux

Postby toreachdeepak » 19. June 2015 11:36


Please help me in enabling the https on xampp for linux. I can see that port 443 is open using netstat -tuplen.


Deepak Bhatia
Posts: 22
Joined: 05. June 2009 06:42

Re: How to enable https on xampp for linux

Postby Nobbie » 19. June 2015 13:40

Get you a valid certificate, put in a VirtualHost Definition, assign the SSL Configuration to your certificate and use https: as protocoll. There surely are plenty of tutorials in the WWW about that. From ... apache.htm for example:

Configure the <VirtualHost> block for the SSL-enabled site.

Below is a very simple example of a virtual host configured for SSL. The parts listed in bold are the parts that must be added for SSL configuration:

DocumentRoot /var/www/html2
SSLEngine on
SSLCertificateFile /path/to/your_domain_name.crt
SSLCertificateKeyFile /path/to/your_private.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
Adjust the file names to match your certificate files:

SSLCertificateFile should be your DigiCert certificate file (eg. your_domain_name.crt).
SSLCertificateKeyFile should be the key file generated when you created the CSR.
SSLCertificateChainFile should be the DigiCert intermediate certificate file (DigiCertCA.crt)
If the SSLCertificateChainFile directive does not work, try using the SSLCACertificateFile directive instead.

P.S.: You already asked the same stuff SIX YEARS AGO!?!? Why didnt you learn about that in that very very long period?
Posts: 8917
Joined: 09. March 2008 13:04

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests