WindowsのApacheでSSLを設定

テスト用の自己署名証明書を作成。

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>openssl genrsa 1
024 > ..\conf\server.key
Loading 'screen' into random state - done
Generating RSA private key, 1024 bit long modulus
.++++++
................++++++
e is 65537 (0x10001)
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>openssl req -new
-x509 -days 3650 -key ..\conf\server.key -out ..\conf\server.crt
Unable to load config info from /usr/local/ssl/openssl.cnf
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>openssl req -new
-x509 -days 3650 -key ..\conf\server.key -out ..\conf\server.crt -config ..\con
f\openssl.cnf
Loading 'screen' into random state - done
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.