<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2011/02/11 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2011/02/11/</link>
    <description>Recent content in 2011/02/11 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 11 Feb 2011 23:48:47 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2011/02/11/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Excelマクロのデジタル署名</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20110211selfcert.htm</link>
      <pubDate>Fri, 11 Feb 2011 23:48:47 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20110211selfcert.htm</guid>
      <description>&lt;p&gt;&lt;span class=&#34;Host&#34;&gt;X200&lt;/span&gt;で作成したExcelのマクロがデスクトップで実行できなくて悩んでいたのだが、Officeのselfcert.exeで作成した自己署名証明書は&lt;span class=&#34;Warning&#34;&gt;秘密キーがエクスポート&lt;/span&gt;できない仕様から、個人の証明書ストアにはインストールされないという事情があるそうだ。&lt;/p&gt;&#xA;&lt;p&gt;というわけで、自己署名証明書を&lt;span class=&#34;Software&#34;&gt;OpenSSL&lt;/span&gt;で&lt;blockquote class=&#34;Log&#34;&gt;$ cd ~/selfcrt&lt;br/&gt;$ openssl genrsa -out yano.key 1024&lt;br/&gt;$ openssl req -new -x509 -days &lt;span class=&#34;Strong&#34;&gt;3650&lt;/span&gt; -key yano.key -out yano.crt&lt;br/&gt;$ openssl pkcs12 -export -in yano.crt -inkey yano.key -out yano.p12&lt;/blockquote&gt;てな感じで作り直して、差し替える事で一件落着。&lt;/p&gt;&#xA;&lt;p&gt;&lt;span class=&#34;Host&#34;&gt;T60&lt;/span&gt;時代はデスクトップでも実行できてた気がするのだが、自己署名証明書はOfficeのselfcert.exeでなくLinuxで作成したのかなぁ。&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●Microsoft Office &lt;a href=&#34;http://office.microsoft.com/ja-jp/&#34;&gt;http://office.microsoft.com/ja-jp/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://office.microsoft.com/ja-jp/infopath-help/HP001096715.aspx&#34;&gt;デジタル署名について - InfoPath&lt;/a&gt;&#xA;&lt;br/&gt;●oops - スラッシュドット・ジャパン ユーザ &lt;a href=&#34;http://slashdot.jp/~oops/&#34;&gt;http://slashdot.jp/~oops/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;http://slashdot.jp/~oops/journal/390630&#34;&gt;Excel のマクロにデジタル署名&lt;/a&gt; 2007年1月25日&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
