qmail-tls 証明書の更新

メンテナンス手抜きで証明書の期限が切れっぱなし~ ( ゚Д゚)マンドクセー

$ sudo cp -a /var/qmail/control/servercert.pem /var/qmail/control/servercert.pem.`date +%Y%m%d%H%M%S`$ sudo openssl req -new -x509 -nodes -days 366 -out /var/qmail/control/servercert.pem -keyout /var/qmail/control/servercert.pem
Country Name (2 letter code) [GB]:JPState or Province Name (full name) [Berkshire]:TokyoLocality Name (eg, city) [Newbury]:Minato-kuOrganization Name (eg, company) [My Company Ltd]:POOH.GR.JPOrganizational Unit Name (eg, section) []:smtpCommon Name (eg, your name or your server's hostname) []:smtp.pooh.gr.jpEmail Address []:root@pooh.gr.jp
$ sudo chmod 640 /var/qmail/control/servercert.pem
タイトルとURLをコピーしました