發表文章

目前顯示的是有「ssl」標籤的文章

Deploy Letsencrypt with apache on CentOS 7.X

 1. change to root $ su - 2. install epel, mod_ssl, httpd, snapd $ yum -y install epel-* mod_ssl httpd $ yum -y install snapd $ systemctl enable snapd; systemctl start snapd 3. create a soft link for /snap $ ln -s /var/lib/snapd/snap /snap 4. test snapd for latest version and install classic certbot $ snap install core; snap refresh core $ snap install --classic certbot 5.  $ ln -s  /snap/bin/certbot /usr/bin/certbot $ certbot --apache 6. renew cert with certbot periodically or add in corn table   certbot renew --dry-run certbot renew   References https://snapcraft.io/docs/installing-snap-on-centos https://certbot.eff.org/instructions?ws=apache&os=centosrhel7 https://letsencrypt.org/zh-tw/donate/

MS IIS with Letsencrypt SSL/TLS on MS Windows

圖片
 1. download win-acme from https://www.win-acme.com Ex. version 2.1.18 https://github.com/win-acme/win-acme/releases/download/v2.1.18/win-acme.v2.1.18.1119.x64.pluggable.zip 2. unzip win-acme.v2.1.18.1119.x64.pluggable.zip 3. execute wacs.exe  with cmd.exe to run  as administrator 4. Modify web.config to rewrite  https with IIS rewrite module https://www.iis.net/downloads/microsoft/url-rewrite   references https://www.ssl.com/how-to/redirect-http-to-https-with-windows-iis-10 https://aboutssl.org/iis-redirection-http-to-https https://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks Letsencrypt ACME https://letsencrypt.org/en/docs/client-options