Deep Discovery Email Inspectorの秘密鍵と証明書を作成する

Deep Discovery Email Inspectorの秘密鍵と証明書を作成して、通信チャネルをセキュリティで保護します。

# openssl genrsa -out /tmp/ddei_key.pem

Generating RSA private key, 1024 bit long modulus

.....................++++++

....++++++

e is 65537 (0x10001)

# openssl req -new -key /tmp/ddei_key.pem -out /tmp/ddei_req.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) [GB]:DE

State or Province Name (full name) [Berkshire]:Bavaria

Locality Name (eg, city) [Newbury]:Munich

Organization Name (eg, company) [My Company Ltd]:Trend Micro

Organizational Unit Name (eg, section) []:Global Training

Common Name (eg, your name or your server's host name) []:linux.course.test

Email Address []:<Enter>

Please enter the following 'extra' attributes to be sent with your certificate request

A challenge password []:<Enter>

An optional company name []:<Enter>

この手順を完了すると、/tmp/ddei_key.pemファイルに、PEM形式のDeep Discovery Email Inspector (linux.course.test) の秘密鍵が追加されます。/tmp/ddei_req.pemファイルには、PEM形式の未署名証明書 (認証要求) が追加されます。

警告:

鍵所有者のCommon Name (CN) フィールドは、FQDNと同じにするか、ドメインベースの配信で指定された名前と同じにする必要があります。