Ubuntu 新しいページはコチラ
提供: yonewiki
(→証明書の設定) |
(→証明書の設定) |
||
159行: | 159行: | ||
==== '''証明書の設定''' ==== | ==== '''証明書の設定''' ==== | ||
− | /usr/lib/ssl# '''mount -t vboxsf cookbooks /mnt/cookbooks''' | + | 以下のようなコマンドでca.crt認証局とserver.crt証明書を作ってみました。最後に証明書をインターネットエクスプローラで読み込ませるために、証明書の*.crtを共有ディレクトリにコピーしています。 |
+ | |||
+ | /usr/lib/ssl# '''mount -t vboxsf cookbooks /mnt/cookbooks''' #VirtualBoxの共有ディレクトリマウント設定。 | ||
/usr/lib/ssl# '''openssl genrsa 2048 > ca.key''' | /usr/lib/ssl# '''openssl genrsa 2048 > ca.key''' | ||
Generating RSA private key, 2048 bit long modulus | Generating RSA private key, 2048 bit long modulus | ||
203行: | 205行: | ||
Certificate is to be certified until Apr 15 14:47:37 2027 GMT (3650 days) | Certificate is to be certified until Apr 15 14:47:37 2027 GMT (3650 days) | ||
− | Sign the certificate? [y/n]:y | + | Sign the certificate? [y/n]:'''y''' |
− | 1 out of 1 certificate requests certified, commit? [y/n]y | + | 1 out of 1 certificate requests certified, commit? [y/n]'''y''' |
Write out database with 1 new entries | Write out database with 1 new entries | ||
Data Base Updated | Data Base Updated |