SSLの使い方

Wyvern では、SSL(Secure Socket Layer)を利用した通信をサポートしています。 コンパイル時に --with-ssl オプションを付けて configure コマンドを実行し、インストールしてください。

このとき、次に示すように自動的にデモ用の証明書の作成を行います (入力の例を強調文字で示します)。

Using configuration from conf/ssl.cnf
Generating a 1024 bit RSA private key
...............+++++
..............................................+++++
writing new private key to '/tmp/wyvern/conf/wyvern.pem'
-----
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.
-----
Country Name (2 letter code) [JP]: [Enter-Key]
State or Province Name (full name) [Some-State]: Miyagi
Locality Name (eg, city) []: Sendai
Organization Name (eg, company) []: MagickWorX.COM
Organizational Unit Name (eg, section) []: MysticWALL
Server Name (eg, dog.doggy.tld; required!) []: www.MysticWALL.COM
Email Address []: kouichi@MysticWALL.COM

SSL を利用して通信する場合は、"http://www.MysticWALL.com/" を "https://www.MysticWALL.com/" のように URL のプロトコルに https を指定します。

現時点のバージョンでは、通常の通信も SSL の通信も同じドキュメントディレクトリを参照する仕様となっています。 暗号化通信として利用するだけなら実用段階の実装です。



Last Modified: $Date: 2004/01/11 13:24:42 $
Copyright © 2000-2002 Kouichi ABE (WALL) / 阿部康一, All rights reserved.