毎朝こういうメールが届くようになったら、

 

Subject: The certificate for cent-6-64 has expired —-
################# SSL Certificate Warning ################ Certificate for hostname ‘cent-6-64’, in file (or by nickname): /etc/pki/tls/certs/localhost.crt
The certificate needs to be renewed; this can be done using the ‘genkey’ program. Browsers will not be able to correctly connect to this web site using SSL until the certificate is renewed. ########################################################## Generated by certwatch(1)
——————— Original Message Ends ——————–

localhost.crt の更新作業:

cd /etc/pki/tls/certs/
rm localhost.crt
make localhost.crt
mv localhost.key ../private/localhost.key
cd ../private/
cp localhost.key localhost.key.orig
openssl rsa -in localhost.key.orig -out localhost.key
又は、

cd /etc/pki/tls/certs/
make testcert

次の記事

ABOUTこの記事を書いた人

世界を旅して80余國。徒然書苦氣去。 Author

コメント

ランダムフォト