2008-02-13 [長年日記]

[Q3] SSLのハンドシェイクでエラーが発生したときのメッセージ

SSLで接続したときに、CAの証明書がインストールされていなくてエラーになるのは(特に元々入っている証明書が少ないWindows Mobileでは)良くあることです。必要な証明書を見つけるためにはサーバ証明書を見なくてはいけないのですが、そのためにログを取らなくてはいけないというのは少々面倒です。そこで、同期ダイアログのエラーメッセージに、もう少し詳しいエラーメッセージと証明書の情報を表示するようにしました。

IMAP4の場合にはフォルダを更新したときにも同じエラー情報を表示するようにしないと、あまり意味がないですけど、これもそのうちやる方向で*1

*1  NNTPでもグループリスト取得時にやらないと意味がないのですが、NNTP over SSLなんて使っている人がいなさそう…

本日のツッコミ(全3件) [ツッコミを入れる]
# KY (2008-02-18 08:28)

メモの内容とは関係ありませんが、Spell Checkを EditWindowの ALT+Sに割り当てようと思い、以下のように書きましたが、何故かキーが効かず。素人質問で恐縮ですが、設定方法をご教示ください。(script名:Spell Check.js)<br><br> <keymap name="EditWindow"><br> <action name="EditCopy"><br> <key key="C" ctrl="true"/><br> <key name="insert" ctrl="true"/><br> </action><br> <action name="EditCut"><br> <key key="X" ctrl="true"/><br> <key name="delete" shift="true"/><br> </action><br> <action name="EditFind"><br> <key key="F" ctrl="true"/><br> </action><br> <action name="EditFindNext"><br> <key name="f3"/><br> <key key="L" ctrl="true"/><br> </action><br> <action name="EditFindPrev"><br> <key name="f3" shift="true"/><br> <key key="L" shift="true" ctrl="true"/><br> </action><br> <action name="EditPaste"><br> <key key="V" ctrl="true"/><br> <key name="insert" shift="true"/><br> </action><br> <action name="EditRedo"><br> <key key="Y" ctrl="true"/><br> </action><br> <action name="EditReplace"><br> <key key="H" ctrl="true"/><br> </action><br> <action name="EditSelectAll"><br> <key key="A" ctrl="true"/><br> </action><br> <action name="EditUndo"><br> <key key="Z" ctrl="true"/><br> </action><br> <action name="FileOpen"><br> <key key="O" ctrl="true"/><br> </action><br> <action name="FileSave"><br> <key key="S" ctrl="true"/><br> </action><br> <action name="FileSend"><br> <key key="M" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@0"><br> <key key="O" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@1"><br> <key key="C" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@2"><br> <key key="B" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@3"><br> <key key="N" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@4"><br> <key key="L" alt="true"/><br> </action><br> <action name="ToolScript0" param="Spell Check"><br> <key key="S" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@6"><br> <key key="H" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@7"><br> <key key="U" alt="true"/><br> </action><br> <action name="ViewFocusEditItem" param="@8"><br> <key key="I" alt="true"/><br> </action><br> <action name="ToolSelectAddress"><br> <key key="A" alt="true"/><br> </action><br> <action name="ToolAttachment"><br> <key key="T" ctrl="true"/><br> </action><br> <action name="ToolInsertSignature"><br> <key key="I" shift="true" ctrl="true"/><br> </action><br> <action name="ToolInsertText" param="@0"><br> <key key="I" ctrl="true"/><br> </action><br> <action name="ToolReform"><br> <key name="return" shift="true"/><br> </action><br> <action name="ViewFocusPrevEditItem"><br> <key name="tab" shift="true"/><br> </action><br> </keymap>

# snak (2008-02-18 08:38)

<action name="ToolScript" param="&quot;Spell Check&quot;"><br> <key key="S" alt="true"/><br></action><br><br>でどうでしょうか。

# KY (2008-02-19 02:37)

動きました!お忙しい中対応ありがとうございます。今までMS WORDに貼り付けていたので、夢のように快適です。


トップ «前の日記(2008-02-12) 最新 次の日記(2008-02-18)»