こちらのサイトでいつもお世話になっています。 「サーバ用証明書の作成」で Write out database with 1 new entries Data Base Updated CA verifying: server.crt <-> CA cert 「server.crt: /C=JP/ST=・・・・・ error 18 at 0 depth lookup:self signed certificate /C=JP/ST=・・・・・ error 7 at 0 depth lookup:certificate signature failure」
1.[Server.crt]?に関する記述 [管理人様サイト] # Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A test # certificate can be generated with `make certificate' under # built time. Keep in mind that if you've both a RSA and a DSA # certificate you can configure both in parallel (to also allow # the use of DSA ciphers, etc.) SSLCertificateFile /etc/httpd/conf/server.crt [あおじしファイル] # Server Certificate # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A new # certificate can be generated using the genkey(1) command. SSLCertificateFile /etc/pki/tls/certs/localhost.crt
2.[さーばー公開鍵]に関する記述 [管理人様サイト] # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /etc/pki/tls/private/localhost.key [あおじしファイル] # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /etc/httpd/conf/server.key
というようなものですが2.Server Private Key:に関しては記述部分は全く一緒なのですが、1.Server Certificate の [-HUP will prompt again.]の後が [A test ertificate can be generated] に対して [A new ertificate can be generated]になっている点が気になります。 このことで、私のファイルは [using the genkey(1) command.]で終わっている。 まだ、初心者の私には解読できません。
Re: サーバ用証明書の作成 ( No.6 )
????????? 2005/09/05 22:13
????????? 管理者
遅くなりました。
紹介当時(Fedora Core2)の時のapache Version(正確にはリビジョン)が古い時のコメントはこうなっていました。 現在のコメントは「A new ertificate can be generated」になっています。 「kill -HUP」とは、簡単に言うと変更した場合、プロセスを再起動して下さいと言う意味です。 証明書・鍵を変更したら、プロセスを再起動しないと有効になりません。