Enabling https (SSL) on LAMPP (XAMPP) at ubuntu 18.04 (Linux)
To enable the https e.g. SSL request on XAMPP/LAMPP at ubuntu 18.04 linux system please follow the instructions below. sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout Documents/https_ssl.key -out Documents/https_ssl.crt sudo nano /opt/lampp/etc/extra/httpd-vhosts.conf # Non-SSL or http hosts<VirtualHost *:80> DocumentRoot “/opt/lampp/htdocs/” ServerName localhost</VirtualHost><VirtualHost *:80> DocumentRoot “/opt/lampp/htdocs/test/” …