2021/08/29

在ubuntu 設定 apache2 的SSL


安裝OpenSSL

sudo apt install openssl


啟用Apache2的SSL模組

sudo a2enmod ssl


把憑証放到以下目錄


/etc/pki/tls/certs


修改

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


SSLCertificateFile /etc/pki/tls/certs/server.cer

SSLCertificateKeyFile /etc/pki/tls/certs/server.key


cd /etc/apache2/sites-enabled

ln -s ../sites-available/default-ssl.conf


systemctl restart apache2


https://20.65.210.123/index.php/2021/05/12/ubuntu-apache-ssl/

1 則留言:

waldawadsworth 提到...

A review of the best casino sites for 2021 - DrmCD
Best casino websites. Our experts go for the 인천광역 출장안마 classics like 창원 출장안마 slots 김제 출장마사지 and live dealer and try and find the best casino 의정부 출장마사지 sites. 대구광역 출장안마 Read the casino reviews of all casinos