2010-02-19

サイト証明書の更新方法

 SSL で Web サイト証明書を使っている企業は多いと思いますが、事務所移転やサーバ移転等の理由から、内容を一部変更してサイト証明書の更新を行いたい場合があると思います。
 Windows Server 環境の場合は、もう一つ仮想 Web サイトを用意すれば、比較的容易にサイト証明書の更新申請を行うことができます。

 手順は次のとおりです。

1. 仮想 Web サイトの準備
 IIS の場合は、「規定の Webサイト」の他に「管理者のWebサイト」が用意されていますので、「管理者のWebサイト」を使うだけで問題はありませんが、必要に応じて Web サイトを追加してください。
 以下の図のように、仮想 Web サイトは停止中のままでかまいません。


2. CSR(証明書発行要求書)の発行と証明書申請
 仮想 Web サイトの「ディレクトリのセキュリティ」タブより CSR の発行を行います。

 途中、証明書の名前や組織名といった情報を求められますが、ここで最新のものを入力していきます。
 この画面より発行した CSR を、証明書発行サービスサイト(Global Sign 等)の証明書更新申請画面の CSR 欄に貼り付けて申請を行うと、更新済のサイト情報で証明書の発行が可能となります。

 Global Sign 社のマニュアルに詳しく発行方法が記載されていますので、それに倣って CSR を作成し、証明書更新申請画面の SCR 貼り付け欄に貼り付けて申請を行うと便利でしょう。

(参考)[CSR生成] Microsoft Internet Information Services 6.0(新規)の CSR 発行方法

『売上猫くん on MySQL』開発日記 ― 1 始めに

昨年1月にFileMakerの新バージョンがリリースされ、ややモチベーションがアップ。 大人の事情によりMySQL 版の「FlexSql売管」は取り止め、暇をみつけて「売上猫くん 4.5」の MySQL版を作ろう、と思い立ったのが去年3月。 今後、当Blogではこの開発工程を綴ります。

概要
「売上猫くん4.5」の後継バージョン『売上猫くん on MySQL』、を、FileMaker Pro 10/MySQL 5.1 を使用し開発する。 完成後、『売上猫くん on MySQL』を流用し、データベースにFileMakerを使用した『売上猫くん5.0』、MS SQL-Server を使用した『売上猫くんon MSSQL』を開発する。可能であれば、最終的に3つのシステムが同一のFileMakerファイル上で動作するようにし、アップグレードを含む開発効率のアップを図る。

システム要件
  • 基本機能は「売上猫くん 4.5」に準じる
  • 見積/売上登録時の取引先/商品の入力方法改善
  • マルチウインドウ対応
  • データベースバックアップ/リカバリ機能(MySQL/MSSQLのみ)
  • ユーザ管理/ログイン機能
  • ユーザインターフェイスの改善

開発環境
データベース:MySQL Community Server 5.1.30
開発ツール
 FileMaker Pro Advanced 10 (Windows/Macintosh)
 MySQL Administrator (→開発終了!)
 phpMyAdmin
 MySQL Workbench
ドキュメント作成
 A5:SQL Mk-2
サーバ(MySQL用)
 CPU: Dual-Core AMD Opteron 1212 2GHz/8GB RAM
 OS: Windows Server 2008 Enterprise
ODBC: MySQL ODBC 5.1 ドライバ




2010/12/16 開発ツール加筆、記事一部削除

2010-01-26

The Same Trouble Again in FMS10 Installation

I mentioned how to "forcibly" fix incompatibilities between FileMaker Server 9 Advanced, IIS, and Java in the article on June 16, 2008, and once again, the same trouble took place with FileMaker Server 10 Advanced!
Being a little smarter this time around, I fortunately found a way to handle this trouble without reinstalling Java, IIS, and FMS10.

The followings are what have happened and how I fixed the problem:

- What I did and what happened -
1. Uninstalled FMS9 first, since FMS9 had already been installed on this Windows Server 2003 to prevent incompatibility between FMS9 and FMS10.
2. Installed FMS10 and added php to IIS via FileMaker Server 10 Admin Console, however, the previously installed ASP.NET's behaviour became odd enough that my web browser would not load .aspx files any more.

* This trouble did not take place when I clean installed FMS10 on a 32-bit version Windows Server 2008, so the symptom could be caused if you uninstall an older version of FMS before installing FMS10 or try to reinstall FMS10.

- How I fixed it -
If you install FMS9/10 when the IIS has alreay ASP.NET installed, some parts of ASP.NET would stop functioning properly. So, you can fix this by reinstalling ASP.NET.

1. Just in case, take a backup of wwwroot and the subsidiary directories.
2. Install FMS10 and check out if your browser is able to load .aspx files from the web server. If not, go on to the next step.
3. Choose [Control Panel] -> [Add and delete programs] in Windows Server 2003, and highlight [Application Servers] from [Add and delete Windows components]. Click "Details...", deselect [ASP.NET] from the list shown, and click "OK."
4. Click "Next" to uninstall ASP.NET.
5. Restart IIS Admin Service and World Wide Web Publishing Service. Make sure ASP.NET is not listed on [Web Service Expansion] in the IIS.
6. Choose [Control Panel] -> [Add and delete programs] in Windows Server 2003, and highlight [Application Servers] from [Add and delete Windows components]. Click "Details...", tick off [ASP.NET] from the list shown, and click "OK."
7. Restart IIS Admin Service and World Wide Web Publishing Service. Make sure ASP.NET is listed with the version number on [Web Service Expansion] in the IIS.
8. Make sure that your web browser loads .aspx files properly. Also check out if php works accordingly.