自宅サーバOS更新
自宅サーバのOSを更新した。
# yum update
で
$ uname -a
Linux localhost.localdomain 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
が
$ uname -a
Linux localhost.localdomain 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
になった。
ついでに、自宅サーバをSSLに対応した。
まず、443/tcpを開ける。
# firewall-cmd --permanent --add-service=https
# firewall-cmd --reload
試してみる。
だろうね。
そこで、Let's Encrypt!
# yum install epel-release
# yum install certbot python-certbot-apache
# certbot
他に、VirtualHostを設定したり、ルータの443/tcpを開けたりした。
できたみたい。