All servers in Azure use a dynamic outbound IP for browsing. You might want to redirect all your HTTP request to HTTPS, add the code below to your virtualHost file listening to port 80.When creating a workplace for your users in Azure using RDS or Windows Virtual Desktop you might recognize this issue. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |