開発メモ

開発用のメモです。

Openssl Windows サーバー証明書の作成

SET PATH=C:\Program Files (x86)\OpenSSL-Win32\bin;%PATH%
SET OPENSSL_CONF=C:\Program Files (x86)\OpenSSL-Win32\bin\openssl.cfg
cd C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\


openssl genrsa -des3 -out server.key 2048
openssl rsa -in server.key -out server.key
openssl req -new -key server.key -out server.csr
openssl x509 -in server.csr -days 3650 -req -signkey server.key -out server.crt
Twitter: @asahina_alice