質問:
どのようにWebコンポーネントがHTTPSを使用するように設定できますか?
答え:
generellでは、以下の手順を実行する必要があります。 IIS Manager:
- 証明書を登録します。サーバー証明書 > インポート
- IISウェブサイトのバインディングをHTTPSでアクセスできるように変更します。
- HTTP用のバインディングを削除する(オプション)
*注:自己署名証明書を使用する場合は、すべてのクライアントPCで、CAが「信頼できるルートCA」として指定されていることを確認してください。GPOを使用して、ドメイン内のすべてのコンピューターとユーザーアカウントの証明書保管庫にルートCAの証明書をインポートする。詳細については、こちらを参照のこと:
- http://woshub.com/how-to-deploy-certificate-by-using-group-policy/
- http://technet.microsoft.com/en-us/library/cc754841.aspx
DocuWareで以下を実行する:
- DocuWare管理]をクリックします:
- Web接続]セクションの[HTTP-Root]ディレクトリのURLを変更します。
- Webインスタンスの設定でURLを変更する (DocuWare 6.5以降は不要)
- Job Server
- Job ServerアプリケーションのWeb.configを変更する(httpsバインディングのコメントを解除、httpバインディングのコメントを解除)(DocuWare 6.1以降は不要)
- JobServer フォルダを開き(デフォルトのパス: ..㊦DocuWareWeb㊦JobServer)、メモ帳で web.config を開きます。
<services>
<service behaviorConfiguration="repositoryBehavior" name="DocuWare.Jobs.Repository">
<endpoint binding="webHttpBinding" bindingConfiguration="repositoryHttpsConfig" behaviorConfiguration="POX" contract="DocuWare.Jobs.IRepository" />
<!--
<endpoint binding="webHttpBinding" bindingConfiguration="repositoryHttpConfig" behaviorConfiguration="POX" contract="DocuWare.Jobs.IRepository" />
-->
</service>
</services> <!- 保存します。再起動は必須ではありません!
- Webクライアントの設定
- 設定サービスのweb.configを変更する (DocuWare 6からは不要になりました。)
- 設定フォルダ(デフォルトのパス:...◆DocuWareWeb◆Settings)を開き、メモ帳でweb.configを開きます。
<services>
<service name="DocuWare.WAFServices.SettingsService">
<endpoint address="binary" binding="customBinding" contract="DocuWare.WAFServices.ISettingsService" bindingConfiguration="binaryHttpsBinding"/>
<!--
<endpoint address="ntlm" binding="basicHttpBinding" contract="DocuWare.WAFServices.ISettingsService" bindingConfiguration="ntlmBasicHttpStreaming"/>
-->
</service>
<service name="DocuWare.WAFServices.ContentService">
<endpoint address="binary" binding="customBinding" contract="DocuWare.WAFServices.IContentService" bindingConfiguration="binaryHttpsBinding"/>
<!--<endpoint address="ntlm" binding="basicHttpBinding" contract="DocuWare.WAFServices.IContentService" bindingConfiguration="ntlmBasicHttpStreaming"/>-->
</service>
</services> <!- 保存します。再起動は必須ではありません!
*注意:クライアント証明書を使用する場合、クライアント証明書を使用できるのはDocuWareバージョン6.1からです。旧バージョンのDocuWareはクライアント証明書をサポートしていません。Webbasketsを正しく読み込むためには、以下の設定を変更する必要があります。 (DocuWare 6.5からは不要になりました):
- C:﹑Wwwwroot﹑DWWWebClient﹑web.config "の "HttpsStreaming "の "clientCredentialType "の値を "None "から "Certificate "に変更する。
<binding name="HttpsStreaming" maxReceivedMessageSize="2147483647" ....... >
<security mode="Transport">
<transport clientCredentialType="Certificate" />
</security>. - 保存します。再起動は必須ではありません!
ご注意:この記事は英語からの翻訳です。この記事に含まれる情報は、オリジナルの英語版製品に基づくものです。翻訳版の記事で使用されている文法などには、細かい誤りがある場合があります。翻訳の正確さを完全に保証することは出来かねますが、ほとんどの場合、十分な情報が得られると思われます。万が一、疑問が生じた場合は、英語版の記事に切り替えてご覧ください。
