apache2+ssl

/etc/pki/tls/certs/domainname.csr
/etc/pki/tls/certs/domainname.key

openssl genrsa -des3 -out domainname.key 1024

Generating RSA private key, 1024 bit long modulus
.................................................++++++
....................++++++
e is 65537 (0x10001)
Enter pass phrase for domainname.key: ←適当でいい覚えておく
Verifying - Enter pass phrase for domainname.key: もう一回

openssl req -new -key domainname.key -out domainname.csr

Enter pass phrase for domainname.key:
-----
Country Name (2 letter code) [GB]:JP
State or Province Name (full name) [Berkshire]:Kyoto
Locality Name (eg, city) [Newbury]:Kyoto
Organization Name (eg, company) [My Company Ltd]:Mystation
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:ssl.myeki.com
Email Address []:hostmaster@myeki.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

domainname.csr

---- から ---エンド をコピーして、発行する。

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