Install ssl packages
sudo apt-get install openssl ssl-cert
Enable SSL module
sudo a2enmod ssl
Create certificate
sudo openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem
Set certificate permissions
sudo chmod 600 /etc/apache2/apache.pem
Edit the file /etc/apache2/sites-available/ssl
NameVirtualHost *:443
<VirtualHost *:443 >
SSLEngine on
ServerSignature On
SSLCertificateFile /etc/apache2/apache.pem
Enable https for site
sudo a2ensite ssl
Restart Apache2
sudo apache2ctl restart
Testing
Open https://localhost on browser
Mobile Access SSL Network Extender (SNX) remote users with Windows 11 24H2 fail to connect
Cause The conflict resolution mechanism in Windows 11 24H2 is different than in earlier versions of Windows. Solution On the Windows endpo...
Mais vistos
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Kaspersky seems to be storing windows update files on the C Drive: Here -> C:\ProgramData\KasperskyLab\adminkit\1093\.working Change fo...
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...