[ ホーム | 一覧 | 検索 | 最終更新 | ヘルプ ] [ 新規 ]

KAWANO's PukiWiki Plus! - Install Log/ApacheでPrivateCA のバックアップ(No.1)

AND OR
  • バックアップ一覧
  • 差分 を表示
  • 現在との差分 を表示
  • 現在との差分 - Visual を表示
  • ソース を表示
  • Install Log/ApacheでPrivateCA へ行く。
    • 1 (2005-03-16 (水) 13:12:59)
    • 2 (2007-03-29 (木) 12:45:55)

ApacheでPrivate CA

RedHat Linuxをインストール済みのサーバに、Private CAをたてて、証明書を発行

▲ ▼

鍵の作成

インストール時の鍵と証明書を削除

# cd /etc/httpd/conf 
# rm ssl.key/server.key
# rm ssl.crt/server.crt

一般的には次のようにして鍵を作成するが

# make genkey

今回は、起動時にpass phraseを入力しなくてもいいようにするため、次のようにする

# /usr/bin/openssl genrsa 1024 > /etc/httpd/conf/ssl.key/server.key
# chmod go-rwx /etc/httpd/conf/ssl.key/server.key

ssl.key/server.keyが作成される

▲ ▼

自己署名証明書の作成

次を実行して、pass phraseを入力し、自己署名証明書を作成

# make testcert

途中の情報は、次のように入力

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) [AU]:JP
State or Province Name (full name) [Some-State]:Hyogo
Locality Name (eg, city) []:Kakogawa
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Hyogo University
Organizational Unit Name (eg, section) []:ISC
Common Name (eg, your name or your server's hostname) []:hoge.hoge.hyogo-dai.ac.jp
Email Address []:isc@hyogo-dai.ac.jp

最後に、httpdを再起動

# /sbin/service httpd restart

メニュー

  • トップ
  • 授業
  • PukiWiki Log
  • Install Log
  • 道具箱
  • セキュリティ情報
  • RSSアンテナ

大学関係リンク

  • Webメール
  • 健康システム学科
  • 情報メディアセンター
  • 兵庫大学

今日の5件
  • FrontPage(107)
  • Lecture/JouhouC2004(2)
  • Lecture/CompPracA2003/11th(1)
  • Lecture/JouhouC2007/2nd/HowToHTML(1)
  • Lecture/CompPracH2004/6th(1)
最新の5件
2016-04-08
  • Lecture/timetable_2016
  • Lecture
  • FrontPage
2015-09-30
  • Lecture/timetable_2015
2015-04-04
  • MenuBar

total: 2740
today: 1
yesterday: 1
now: 4


リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
http%3A%2F%2Fhs-www.hyogo-dai.ac.jp%2F~kawano%2F%3FInstall%252520Log%25252FApache%2525E3%252581%2525A7PrivateCA
Founded by Minoru Kawano.
Powered by PukiWiki Plus! 1.4.7plus-u2-i18n. HTML convert time to 0.199 sec.
Valid XHTML 1.1