株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

「Get-ChildItem -path cert:\CurrentUser」でできる
cert:というコンテキスト?の中にツリー状で管理されている。
このあたりは、MMCコンソールから開いた証明書ストアの構成と同じ。

PS C:\Users\yuta> Get-ChildItem -path cert:\CurrentUser


Name : TrustedPublisher

Name : ClientAuthIssuer

Name : Root

Name : UserDS

Name : CA

Name : REQUEST

Name : AuthRoot

Name : MSIEHistoryJournal

Name : TrustedPeople

Name : ADDRESSBOOK

Name : Local NonRemovable Certificates

Name : My

Name : SmartCardRoot

Name : Trust

Name : Disallowed



PS C:\Users\yuta> Get-ChildItem -path cert:\CurrentUser\My


   PSParentPath: Microsoft.PowerShell.Security\Certificate::CurrentUser\My

Thumbprint                                Subject
----------                                -------
C67BD4D916010561BB6797F020D071E7DA6CCC35  CN=yuta
C0A0E22FE207141D7979262847E541D705E3460C  CN=VamdemicRootCA
BFC20F8F0C3DC41691C72A35C75FC4296249EE55  CN=VamdemicRootCert
A9F42AF588EB24B5A700E519CA2F64D059C86422  CN=VamdemicRootCert
960F0FF4174039BE3F45F7B61254854A9BB81323  CN=400ec0b9-3fa4-4a5e-b92a-92fe9a3b97f5
772A9E56785B57BF16F945CCE99FE34D652DC4D7  CN=VamdemicClientCert
532D5244F1DFB1B720BABA77F1D1BB189C2D0884  CN=f679d479-86ff-49f0-a8b8-2643c1c8fb60
1139C9573E59216213F71E2493000994E1A95D2F  CN=1697A621-C759-44DD-BBFE-B62EC1B6DCF1
060D92C66378E302DD44406E7B058CC80C8565FB  CN=C080FE19-3948-43D3-B79C-98835569994D
022146434EB78D6E7165B442C6ADF955F286298B  CN=yuta


PS C:\Users\yuta>

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)