ひじりんのひつまむしブログ

現役システムエンジニアのゲームやら映画やら技術やら・・

openssl による csr 作成

SSL証明書をCS(認証局)に署名してもらうには

CSRファイルが必要となります

 

centos 上でのファイル作成方法

#openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr

 

Generating a RSA private key
.......+++++
.......................+++++

 

Country Name (2 letter code) [XX]:JP
State or Province Name (full name) :Osaka
Locality Name (eg, city) [Default City]:*****-shi
Organization Name (eg, company) [Default Company Ltd]:*****
Organizational Unit Name (eg, section)
:****
Common Name (eg, your name or your server's hostname) :******
Email Address :

 

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password :
An optional company name :

 

赤字のところは、そのまま enter

これで、秘密鍵CSRの両方ができます

PVアクセスランキング にほんブログ村