経理からエンジニア転向した人のメモ

元経理マンがエンジニアに転向して現在

SSL

GCPでLet's encryptでSSL(TLS)を自動更新

続き ryomoyr.hatenablog.com 証明書の更新 Let's encryptの証明書が3ヶ月で切れるとのこと。 最初に手動で更新してみる。 $ cd /usr/local/certbot $ ./certbot-auto renew Requesting to rerun ./certbot-auto with root privileges... Saving debug log t…

GCPでLet's EncryptしてSSL(TLS)の表示

ざっくり GCPの無料枠 CentOS7のimage 前提 GCPでインスタンスを生成している Nginxをインストールしている DocumentRootを設定して、ブラウザで表示ができる Gitのインストール # yum install git certbotのインストール $ cd usr/local $ sudo git clone h…

CentOS7のNginxでSSL自己証明

# vi /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 # yum -y --enablerepo=nginx install nginx # nginx -v nginx version: nginx/1.14.0 # systemctl start nginx # systemctl …