memo.xight.org

/ / memo.xight.org

2006-02-09

Debian で Apache2 + SSL

- Summary
Apache2 で SSL を導入する.
[2006-11-09] 変更.
[2008-06-18] 変更.

- 手順
1. 鍵の生成
2. SSL用 confファイル作成
3. VirtualHost とSSLモジュールの有効化
4. apache の再起動

- /usr/share/ssl-cert/ssleay.cnf をコピーする

# cd /usr/share/ssl-cert
# cp ssleay.cnf custom.cnf
# vi custom.cnf


- /usr/share/ssl-cert/custom.cnf を編集

<<

- /etc/apache2/ssl/apache.pem を作成

# mkdir /etc/apache2/ssl
# make-ssl-cert /usr/share/ssl-cert/custom.cnf /etc/apache2/ssl/apache.pem


- /etc/apache2/sites-available/ssl を作成

# cp /usr/share/apache2/config/default-443 /etc/apache2/sites-available/ssl


- /etc/apache2/sites-available/ssl を編集

- mod_sslを有効化

# a2enmod ssl
# a2ensite ssl


- Reference
日々の試行と実験: SSL導入(Debian sarge apache2)
http://golgotha.xrea.jp/archives/2006/01/ssldebian_sarge.html

klog: Debian の Apache2 で SSL セットアップ
http://5net.com/blog/2004/11/debian_apache2_ssl.html

deb/WWWサーバ - PukiWiki Plus!
http://motoka.com/wiki/?cmd=read&page=deb%2FWWW%A5%B5%A1%BC%A5%D0

SSL用証明書の作成(Linux編)
http://www.aconus.com/~oyaji/www/certs_linux.htm

- [2008-06-18] 追記
Debian Etchでは
apache2-ssl-certificate ではなく,
make-ssl-certを利用する.

カテゴリ: [Debian][Apache2]
2006-02 /

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.