denverlmka.blogg.se

Ubuntu server azure
Ubuntu server azure












ubuntu server azure

You might want to redirect all your HTTP request to HTTPS, add the code below to your virtualHost file listening to port 80.Explore some of the most popular Azure products Now configured for HTTPS, restart the apache2 service to enable the new settings: sudo service apache2 restart If you install the certificate and key in another directory make sure to change SSLCertificateFile and SSLCertificateKeyFile appropriately.Īdd the following to your default-ssl file. The directories /etc/ssl/certs and /etc/ssl/private are the default locations. The you need to enable the site that would using the SSL sudo a2ensite default-ssl To enable the SSL module in Apache2 you issue the command below sudo a2enmod ssl On my Ubuntu VM terminal, I did the following. I created a new endpoint (HTTPS - port 443) from my Microsoft Azure portal














Ubuntu server azure