Enable https ubuntu Apache2. http://localhost to https://localhost

Publicado em: 01 Janeiro 1970
no canal de: Coders Gateway - Web Tech solutions
206
1

Reference i got it from below url

https://www.digitalocean.com/communit...

Commands used
---------------------------------
1 sudo apt update
2 sudo ufw allow "Apache Full"
3 sudo a2enmod ssl
4 sudo systemctl restart apache2
5 sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache-selfsigned.key -out /etc/ssl/certs/apache-selfsigned.crt
6 sudo gedit
7 sudo apache2ctl configtest
8 sudo systemctl reload apache2


/etc/apache2/sites-available/000-default.conf

VirtualHost *:443

ServerName localhost
DocumentRoot /var/www/html

SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key

/VirtualHost


Nesta página do site você pode assistir ao vídeo on-line Enable https ubuntu Apache2. http://localhost to https://localhost duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coders Gateway - Web Tech solutions 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 206 vezes e gostou 1 espectadores. Boa visualização!