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

KAWANO's PukiWiki Plus! - Install Log/ApacheでPrivateCA の変更点

Top > Install Log > ApacheでPrivateCA
AND OR
  • 追加された行はこの色です。
  • 削除された行はこの色です。
  • Install Log/ApacheでPrivateCA へ行く。

TITLE:ApacheでPrivate CA
*ApacheでPrivate CA [#y59f418b]

RedHat Linuxをインストール済みのサーバに、Private CAをたてて、証明書を発行。
VerisignとかのPublicなCAからの証明書とは手順が違うので注意。

**鍵の作成 [#x253f298]

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

 # 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が作成される

**自己署名証明書の作成 [#i1c05100]

次を実行して、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(448)
  • Lecture/InfoDesignB2004/9th/list_style(4)
  • Lecture/JouhouC2005/5th(3)
  • Lecture/InfoPrac2004/10th/download(3)
  • Lecture/JouhouC2009/5th/unit(3)
最新の5件
2016-04-08
  • Lecture/timetable_2016
  • Lecture
  • FrontPage
2015-09-30
  • Lecture/timetable_2015
2015-04-04
  • MenuBar

total: 2739
today: 1
yesterday: 1
now: 7


リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新の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.158 sec.
Valid XHTML 1.1