- 追加された行はこの色です。
- 削除された行はこの色です。
** 秘密鍵を作成 [#l0b77235]
# openssl genrsa 1024 > server.key
** 証明書を作成 [#m688e855]
# openssl req -new -x509 -key server.key > server.crt
Country Name (2 letter code) [GB]:JP
State or Province Name (full name) [Berkshire]:Pref
Locality Name (eg, city) [Newbury]:City
Organization Name (eg, company) [My Company Ltd]:company
Organizational Unit Name (eg, section) []:system1
Common Name (eg, your name or your server's hostname) []:example.com
Email Address []:.
** Apacheの再起動 [#cd483e0f]
# /usr/local/apache2/bin/apachectl stop
# /usr/local/apache2/bin/apachectl start