黒龍's Blog

明日から役立つ無駄知識をあなたに(仮)

ホーム 連絡をする 同期する ( RSS 2.0 ) Login
投稿数  170  : 記事  0  : コメント  2707  : トラックバック  26

ニュース

わんくま同盟に参加させていただきました。
どうぞよろしくお願いします。

自己紹介

コミュニティ

  • わんくま同盟
    わんくま同盟

書庫

大阪勉強会で中さん&kokaさんに「?」をぶん投げてたんですが問題点を整理するために再度やってみたらするっとうまく行ったので手順をメモっときます。

まずは勝手CAでオレオレ証明書をつくる。(SP2のせいか非常にわかりやすくなってます)

SP1相当であればクライアント証明を作るでごにょごにょやればpvk&cerが作れたような気がします。

でもって証明書が作られます。適当なとこに保存。

その後pvkimprt.exeというツールでpvk+cerからClickOnceで使用する証明書形式であるpfxを作ります。ツールはこちらから

使い方は以下のような感じ。証明書ストアに入れるならデフォルト。ファイルを作るなら-pfxです。

証明書ストアから見てみましょう。(MMC.exeを立ち上げてスナップインの追加で証明書を追加)

ちゃんとできてます。

-pfxで作った場合やストアに格納した場合でここからエクスポートするとこんな風にファイルができます。(ストアに入れた場合は無理にエクスポートしなくていいです)

これをプロジェクトのプロパティから設定します。

んでもって発行すればこんな風になります。

ふぅ。ポイントはpvkimprtですね。pfxでないと付けれないので・・・。この署名に使用したファイル群ですがpvkファイルは厳重に保管したほうがいいと思います。扱う場面ではパスワードを要求されるので忘れないようにw

これをVerisignとかで買うとけっこうしますし個人では買えません。自己証明でもいけますがあれこれ設定できないんでイントラではこんな感じでやってやればいいと思います。てかオレオレ証明書でネックになるとこってルート証明書のインストールだと思うんですが正規のサーバ証明書を使ったSSLWebで配布するってのはNGなんでしょうか?(ルート証明書のインストールが習慣づくのはNGですが)最近署名のウェイトが高まってるんで個人でもAuthenticodeを取れる方法を検討しないとですねぇ。

・・・そういやこんなに画面張ったの初めてだな。

投稿日時 : 2007年5月1日 21:07

コメント

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 9:25 シャノン
> これをVerisignとかで買うとけっこうしますし個人では買えません。

Verisign じゃなければ買えます。
GlobalSign( http://www.globalsign.net/ ) では1万/3年で買えました。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 9:28 シャノン
> GlobalSign( http://www.globalsign.net/ ) では1万/3年で買えました。

訂正。
GlobalSignで1万で買えるのはPersonalSignっていう証明書です(S/MIME 目的で取得しました)。
Authenticode に使うなら ObjectSign の方を買うべきなのかな?
PersonalSign で取得した証明書でも、使用目的に「コード署名」は入ってましたけどね。
で、ObjectSign は若干お高いですが、でもまぁ3万/1年くらい? 個人でも買えるようです。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 9:37 黒龍
コード署名が入ってるなら使えそうですね。個人で取ると証明書の信頼が・・・(ry
多数の環境でOKなら3年で1万は安いかも・・・。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 9:56 シャノン
> 個人で取ると証明書の信頼が・・・(ry

オレオレよりマシw
GlobalSign は免許証を使った個人実在認証をしてくれますから。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 10:08 黒龍
> オレオレよりマシw
単体で比べるとそうなりますがAD環境なんかでは訳のわからんところの証明書よりドメイン発行の証明書のほうが印象はいいように思います。(ユーザからの視点では)

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 10:08 シャノン
ま、イントラではそうなりますねー。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 10:13 黒龍
※上記フォロー
決してオレオレを推奨してるんじゃないですよ^^;
GlobalSignは個人認証してくれるんですね。フリーソフトやドライバの配布で有用な選択肢だと思います。
なんか周りが整わないままに署名署名といわれても抜け道ばっかり出てきそうですね。(オレオレルート証明書の推奨とか未署名のドライバに自己署名して突っ込むとか)

# re: コード署名(ClickOnceでオレオレ証明書) 2007/05/02 10:19 シャノン
> ドライバの配布で有用な選択肢だと思います。

どうなんですかねー。
ドライバは Verisign しか MS が認めてなさそう? 要調査。

ClickOnce はともかくとして、Vista の昇格なんて、「オレオレでもいいからつけとけ」って MS が言っちゃってますからね。

# re: コード署名(ClickOnceでオレオレ証明書) 2007/09/26 7:36 hiyohiyo
GlobalSign( http://www.globalsign.net/ ) で ObjectSign を購入し、デバイスドライバへ署名することで、Vista x64 で動作することを確認いたしました。

以上、ご参考まで

# re: コード署名(ClickOnceでオレオレ証明書) 2007/09/26 21:15 黒龍
おぉ~ないすな書き込みありがとうございます。リッチな会社のプログラマじゃない人にも門戸は開かれているようで安心しました^^;

# re: コード署名(ClickOnceでオレオレ証明書) 2007/09/27 0:41 hiyohiyo
>黒龍さん
このエントリ(+シャノンさんのコメント)のおかげで、デジタル署名を取得することができました。

わんくま同盟の方々にはいつも貴重な情報を教えていただき、大変感謝しております。

# 個人でAuthenticode証明書を取得する方法 2007/10/15 13:27 .COM -どっとこむ-
個人でAuthenticode証明書を取得する方法

# buy doxycycline for dogs https://doxycyline1st.com/
odering doxycycline 2022/02/26 10:01 Jusidkid
buy doxycycline for dogs https://doxycyline1st.com/
odering doxycycline

# znyzmcftubcw 2022/05/07 11:11 ttlppv
plaquenil hydroxychloroquine sulfate https://keys-chloroquinehydro.com/

# furosemida https://buylasix.icu/
lasix side effects 2022/06/24 17:27 LasixRx
furosemida https://buylasix.icu/
lasix side effects

# order clomiphene https://clomidonline.icu/ 2022/07/08 13:56 Clomidj
order clomiphene https://clomidonline.icu/

# ivermectin dosage https://stromectolbestprice.com/ 2022/07/30 0:50 BestPrice
ivermectin dosage https://stromectolbestprice.com/

# metformin online india https://glucophage.top/
metformin 1000 mg online 2022/08/23 8:11 Niujsdkj
metformin online india https://glucophage.top/
metformin 1000 mg online

# herbal ed treatment https://ed-pills.xyz/
cures for ed 2022/09/15 19:29 EdPills
herbal ed treatment https://ed-pills.xyz/
cures for ed

# ed medications online https://ed-pills.xyz/
generic ed pills 2022/09/17 8:06 EdPills
ed medications online https://ed-pills.xyz/
generic ed pills

#  https://clomidforsale.site/ 2022/11/13 14:37 ForSale
https://clomidforsale.site/

# prednisone 0.5 mg https://prednisonepills.site/
can i buy prednisone over the counter in usa 2022/11/30 1:08 Prednisone
prednisone 0.5 mg https://prednisonepills.site/
can i buy prednisone over the counter in usa

# online ed medications https://cheapestedpills.com/
ed treatment review 2022/12/10 16:39 CheapPills
online ed medications https://cheapestedpills.com/
ed treatment review

# cheapest ed pills https://edpills.science/
best erection pills 2023/01/07 8:52 Edpills
cheapest ed pills https://edpills.science/
best erection pills

# doors2.txt;1 2023/03/14 15:30 xnBLCbyAIZDiAQnEP
doors2.txt;1

# buy doxycycline without prescription uk - https://doxycyclinesale.pro/# 2023/04/21 17:47 Doxycycline
buy doxycycline without prescription uk - https://doxycyclinesale.pro/#

# prednisone brand name in india - https://prednisonesale.pro/# 2023/04/22 5:04 Prednisone
prednisone brand name in india - https://prednisonesale.pro/#

# meclizine over the counter https://overthecounter.pro/# 2023/05/08 23:20 OtcJikoliuj
meclizine over the counter https://overthecounter.pro/#

# canadian pharmacies https://pillswithoutprescription.pro/# 2023/05/15 4:08 PillsPresc
canadian pharmacies https://pillswithoutprescription.pro/#

# canadian pharmaceuticals for usa sales https://pillswithoutprescription.pro/# 2023/05/16 10:16 PillsPro
canadian pharmaceuticals for usa sales https://pillswithoutprescription.pro/#

# paxlovid covid https://paxlovid.pro/# - paxlovid for sale 2023/07/02 17:44 Paxlovid
paxlovid covid https://paxlovid.pro/# - paxlovid for sale

# Paxlovid over the counter https://paxlovid.life/# paxlovid buy 2023/07/25 20:53 Paxlovid
Paxlovid over the counter https://paxlovid.life/# paxlovid buy

# internet apotheke 2023/09/26 12:41 Williamreomo
http://onlineapotheke.tech/# online apotheke gГ?nstig
versandapotheke deutschland

# online apotheke preisvergleich 2023/09/26 23:43 Williamreomo
https://onlineapotheke.tech/# gГ?nstige online apotheke
online apotheke deutschland

# online apotheke gГјnstig 2023/09/27 5:17 Williamreomo
https://onlineapotheke.tech/# versandapotheke versandkostenfrei
online apotheke preisvergleich

# п»їonline apotheke 2023/09/27 6:08 Williamreomo
http://onlineapotheke.tech/# versandapotheke versandkostenfrei
п»?online apotheke

# gГјnstige online apotheke 2023/09/27 8:14 Williamreomo
https://onlineapotheke.tech/# internet apotheke
versandapotheke deutschland

# п»їonline apotheke 2023/09/27 12:19 Williamreomo
https://onlineapotheke.tech/# online apotheke gГ?nstig
online apotheke preisvergleich

# farmacie on line spedizione gratuita 2023/09/27 18:35 Rickeyrof
acheter sildenafil 100mg sans ordonnance

# farmacia online 2023/09/27 19:07 Rickeyrof
acheter sildenafil 100mg sans ordonnance

# comprare farmaci online con ricetta 2023/09/27 21:49 Rickeyrof
acheter sildenafil 100mg sans ordonnance

# farmaci senza ricetta elenco 2023/09/27 22:22 Rickeyrof
acheter sildenafil 100mg sans ordonnance

# no prescription needed 2023/10/16 13:15 Dannyhealm
Their loyalty points system offers great savings. http://mexicanpharmonline.com/# mexico drug stores pharmacies

# canada drug center promo code 2023/10/16 19:07 Dannyhealm
Their global outlook is evident in their expansive services. https://mexicanpharmonline.shop/# mexico drug stores pharmacies

# canadian pharmacies that ship to us 2023/10/16 22:44 Dannyhealm
Their free health check-ups are a wonderful initiative. https://mexicanpharmonline.com/# mexican pharmaceuticals online

# rx from canada 2023/10/16 23:17 Dannyhealm
They have expertise in handling international shipping regulations. https://mexicanpharmonline.com/# pharmacies in mexico that ship to usa

# canadian prescriptions in usa 2023/10/16 23:56 Dannyhealm
They always keep my medication history well-organized. http://mexicanpharmonline.shop/# mexican rx online

# buy rx online 2023/10/17 2:24 Dannyhealm
They offer great recommendations on vitamins. http://mexicanpharmonline.shop/# mexican mail order pharmacies

# online-rx 2023/10/17 6:43 Dannyhealm
They offer world-class service, bar none. https://mexicanpharmonline.com/# mexican pharmaceuticals online

# prescription canada 2023/10/18 0:16 Dannyhealm
Their international insights have benefited me greatly. https://mexicanpharmonline.com/# mexican border pharmacies shipping to usa

# pharmacies without prescriptions 2023/10/18 1:59 Dannyhealm
Pharmacists who are passionate about what they do. http://mexicanpharmonline.com/# mexico drug stores pharmacies

# rx mexico online 2023/10/18 6:31 Dannyhealm
Offering a global gateway to superior medications. http://mexicanpharmonline.shop/# reputable mexican pharmacies online

# pharmacies in canada online 2023/10/18 16:28 Dannyhealm
Their international health advisories are invaluable. http://mexicanpharmonline.shop/# reputable mexican pharmacies online

# order generic valtrex online https://valtrex.auction/ average cost of generic valtrex 2023/10/24 22:36 Valtrex
order generic valtrex online https://valtrex.auction/ average cost of generic valtrex

# canadian pharcharmy 2023/12/03 10:23 MichaelBum
https://paxlovid.club/# paxlovid cost without insurance

# farmacia online senza ricetta https://farmaciait.pro/ farmacia online senza ricetta 2023/12/04 10:29 Farmacia
farmacia online senza ricetta https://farmaciait.pro/ farmacia online senza ricetta

# generic clomid online 2023/12/31 3:15 Stephendep
https://clomid.site/# can i buy generic clomid online

# can i get cheap clomid pills 2024/01/12 8:11 JeffreyRom
http://prednisone.auction/# prednisone 30

# purchase cytotec 2024/01/15 16:31 Keithturse
https://misoprostol.shop/# Abortion pills online

# farmacie online sicure 2024/01/17 1:33 Walterpoume
http://avanafilitalia.online/# farmacia online migliore

# where can i buy clomid without rx 2024/01/20 17:06 LarryVoP
Love their range of over-the-counter products http://clomidpharm.shop/# cheap clomid pills

# can i get clomid online 2024/01/20 17:22 AnthonyAnoth
http://prednisonepharm.store/# prednisone 1mg purchase

# cost of generic clomid without insurance 2024/01/21 8:45 LarryVoP
Their senior citizen discounts are much appreciated http://cytotec.directory/# buy cytotec in usa

# can i get clomid prices 2024/01/22 11:52 LarryVoP
Leading with integrity on the international front http://prednisonepharm.store/# prednisone 5 mg tablet price

# ï»¿pharmacie en ligne 2024/01/28 10:14 JerryNef
https://pharmadoc.pro/# Acheter médicaments sans ordonnance sur internet

# Pharmacie en ligne livraison rapide 2024/01/29 6:02 JerryNef
http://pharmadoc.pro/# Pharmacie en ligne fiable

# stromectol pill price 2024/01/30 11:26 Andrewamabs
https://prednisonetablets.shop/# purchase prednisone

# ivermectin 8 mg 2024/01/31 4:16 Andrewamabs
http://prednisonetablets.shop/# prednisone 60 mg price

# canadian pharcharmy online 2024/02/10 10:25 Williamzelia
http://edpill.cheap/# best otc ed pills

# canadian pharmaceutical companies that ship to usa 2024/02/13 0:02 Williamzelia
http://edpill.cheap/# erection pills

# prinivil price 2024/02/21 11:23 Charlesmax
https://furosemide.guru/# lasix 40mg

# website 2024/02/23 12:09 Charlesmax
https://furosemide.guru/# furosemide 40mg

# reputable indian pharmacies 2024/03/01 4:18 JordanCrils
http://cytotec24.com/# Misoprostol 200 mg buy online

# best internet dating service 2024/03/02 21:27 Thomasjax
https://sweetiefox.online/# sweeti fox

# tinder dating site 2024/03/03 23:28 Thomasjax
https://evaelfie.pro/# eva elfie video

# singles site 2024/03/04 2:03 RodrigoGrany
http://angelawhite.pro/# ?????? ????

# date online site 2024/03/05 0:07 Thomasjax
https://abelladanger.online/# abella danger izle

# free date site 2024/03/05 7:37 RodrigoGrany
https://lanarhoades.fun/# lana rhoades izle

# single website 2024/03/06 0:29 RodrigoGrany
http://evaelfie.pro/# eva elfie

# dating sims 2024/03/07 2:22 HowardBox
local personals: http://evaelfie.site/# eva elfie

# pof dating sites usa 2024/03/10 4:24 HowardBox
freetalk45: http://sweetiefox.pro/# sweetie fox video

# free dating date 2024/03/11 0:27 HowardBox
matchmeetups dating site: http://sweetiefox.pro/# sweetie fox full video

# aplicativo de aposta 2024/03/11 14:33 Robertcog
http://jogodeaposta.fun/# jogo de aposta online

# aviator online https://aviatormocambique.site aviator moçambique
2024/03/11 20:58 AviatorMaz
aviator online https://aviatormocambique.site aviator moçambique


# aviator game: https://aviatorghana.pro/ aviator bet
2024/03/12 6:46 AviatorGh
aviator game: https://aviatorghana.pro/ aviator bet


# melhor jogo de aposta para ganhar dinheiro 2024/03/12 10:49 Robertcog
http://aviatoroyunu.pro/# aviator oyna slot

# gates of olympus slot 2024/03/29 0:33 KeithNaf
http://pinupgiris.fun/# pin-up giris

# clomid otc 2024/04/03 7:34 Robertsuela
http://prednisoneall.com/# cost of prednisone 5mg tablets

# where can i get clomid without rx 2024/04/03 16:18 Robertsuela
http://clomidall.shop/# can i buy cheap clomid tablets

# buy generic clomid without insurance 2024/04/04 7:30 Robertsuela
http://prednisoneall.shop/# generic prednisone pills

# can you get clomid price 2024/04/04 20:02 Robertsuela
https://prednisoneall.shop/# 20 mg prednisone

# 100mg doxycycline 2024/04/12 4:36 Archiewef
https://diflucan.icu/# can i buy diflucan over the counter in canada

# doxycycline tetracycline 2024/04/13 0:40 Archiewef
https://diflucan.icu/# diflucan 200 mg capsules

# doxycycline tablets 2024/04/13 20:26 Archiewef
http://misoprostol.top/# buy cytotec online fast delivery

# diflucan 200 mg price south africa 2024/04/15 22:03 Josephfep
https://stromectola.top/# ivermectin where to buy

# prescription online canada 2024/04/16 8:25 ArmandoWem
https://medicationnoprescription.pro/# buy medications without prescriptions

# canadian mail order prescriptions 2024/04/16 12:47 ArmandoWem
https://edpill.top/# online ed treatments

Post Feedback

タイトル
名前
Url:
コメント