秘密鍵を作成

# openssl genrsa 1024 > server.key

証明書を作成

# 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の再起動

# /usr/local/apache2/bin/apachectl stop
# /usr/local/apache2/bin/apachectl start

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS