We need installed apache2, teks editor (e.g. nano) and domain (e.g. jusmelon.com) Install apache2 $ sudo apt install apache2 -y Get certificate and put to path e.g. /home/ubuntu/ssl-certificates/here $ ls /home/ubuntu/ssl-certificates/ cert.crt cert.key README Configuration $ sudo nano /etc/apache2/sites-available/000-default.conf Add this to end of file <VirtualHost *:443> SSLEngine on SSLCertificateFile /home/ubuntu/ssl-certificates/cert.crt SSLCertificateKeyFile /home/ubuntu/ssl-certificates/cert.key </VirtualHost> Enable module and restart service $ sudo a2enmod ssl $ sudo service apache2 restart Check Open browser and type https://jusmelon.com Enter