<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows PKI blog : certutil</title><link>http://blogs.technet.com/pki/archive/tags/certutil/default.aspx</link><description>Tags: certutil</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to get request statistics by template in PowerShell</title><link>http://blogs.technet.com/pki/archive/2009/09/10/how-to-get-request-statistics-by-template-in-powershell.aspx</link><pubDate>Thu, 10 Sep 2009 02:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3280211</guid><dc:creator>alrad</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/pki/comments/3280211.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=3280211</wfw:commentRss><description>&lt;P&gt;I’ve been working with our support folks helping one of our customers. One of the things we wanted to learn about the environment is how many requests have been made for each certificate template that they issue. We have come up with this PowerShell script that you can run against a CA to find out. &lt;/P&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;STRONG&gt;Disclaimer&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;certutil -view -out CertificateTemplate -restrict "NotBefore &amp;gt; 08/20/2009" csv &amp;gt; out.txt &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;$FileContents = gc out.txt &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;write-host "Total rows:" $FileContents.length &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;$GroupedCounts = $FileContents | group | sort count –Descending &lt;BR&gt;$GroupedCounts | format-table Count,Name -auto&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The output will look something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1 face=Courier&gt;Total rows: 10 &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;Count Name &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;----- ---- &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;4 "1.3.6.1.4.1.311...X &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;3 "1.3.6.1.4.1.311...Y &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;1 "8/20/2009 12:00 AM""Certificate Template" &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1 face=Courier&gt;1 "DomainController" &lt;BR&gt;1 "EMPTY"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Let’s take a look at the script closely and also talk about what can be tweaked. &lt;/P&gt;
&lt;P&gt;First, we run a certutil.exe to dump the template’s name or OID. The V1 templates are recorded by their name and V2/V3 templates are recorded by their OID. You can see template OIDs with the certutil.exe -template command. You can’t see it in the template snapin UI. &lt;/P&gt;
&lt;P&gt;Note that we restrict the output by date. Some other filters that could be useful are CertificateTemplate and Request.StatusCode if you want to get counts for only template or if you’re only interested in failed requests for example. We pipe the output into a text file. We also use the -csv option so that our output is easier to consume for automation.&lt;/P&gt;
&lt;P&gt;We then group the output by the template name/OID and sort it based on the count in the descending order. Finally we output it as a table. &lt;/P&gt;
&lt;P&gt;Now let’s take a look at the output. Note that the last and third line from the bottom contains garbage. If you’re going to use the output of this script in some automation, you would need to get rid of those entries. They are simply an artifact of the certutil.exe output. &lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3280211" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category><category domain="http://blogs.technet.com/pki/archive/tags/Certification+authority/default.aspx">Certification authority</category><category domain="http://blogs.technet.com/pki/archive/tags/powershell/default.aspx">powershell</category></item><item><title>Defining the friendly name certificate property</title><link>http://blogs.technet.com/pki/archive/2008/12/12/defining-the-friendly-name-certificate-property.aspx</link><pubDate>Fri, 12 Dec 2008 15:18:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3167519</guid><dc:creator>MS2065</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/pki/comments/3167519.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=3167519</wfw:commentRss><description>&lt;p&gt;The friendly name of a certificate can be helpful if multiple certificates with a similar subject exist in a certificate store.&lt;/p&gt; &lt;p&gt;One way to set the friendly name is through the certificate MMC SnapIn. Alternatively certutil.exe can be used in the following way:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Open Notepad and past the following text into the editor  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;[Version]&lt;br&gt;Signature = "$Windows NT$"&lt;br&gt;[Properties]&lt;br&gt;11 = "{text}My Friendly Name"&lt;/font&gt;&lt;/p&gt; &lt;li&gt;Save the file as &lt;em&gt;friendlyname.inf&lt;/em&gt;  &lt;li&gt;Determine the serialnumber of the certificate where the friendly name should be changed.  &lt;li&gt;If the certificate exists in the user’s certificate store, run the following command at a command-line&lt;/li&gt;&lt;/ol&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;certutil –repairstore –user my {SerialNumber} FriendlyName.inf&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3167519" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category></item><item><title>Disposition values for certutil –view –restrict (and some creative samples)</title><link>http://blogs.technet.com/pki/archive/2008/10/03/disposition-values-for-certutil-view-restrict-and-some-creative-samples.aspx</link><pubDate>Fri, 03 Oct 2008 14:30:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3131853</guid><dc:creator>MS2065</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/pki/comments/3131853.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=3131853</wfw:commentRss><description>&lt;p&gt;A while ago I explained how &lt;a href="http://blogs.technet.com/pki/archive/2008/04/24/how-to-determine-all-certificates-that-will-expire-within-30-days.aspx"&gt;to determine all certificates that will expire&lt;/a&gt; within a given period. Now I’d like to explain how to query the CA database based on certificate or request disposition. The disposition ID’s are defined in the certsrv.h include file in the Windows SDK.&lt;/p&gt; &lt;p&gt;The following two tables show the disposition ID’s for the request queue and the log.&lt;/p&gt; &lt;p&gt;Disposition values for requests in the queue:&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="535"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;&lt;strong&gt;Disposition&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="460"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;8&lt;/td&gt; &lt;td valign="top" width="460"&gt;request is being processed&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;9&lt;/td&gt; &lt;td valign="top" width="460"&gt;request is taken under submission&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;12&lt;/td&gt; &lt;td valign="top" width="460"&gt;certificate is an archived foreign certificate&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;15&lt;/td&gt; &lt;td valign="top" width="460"&gt;certificate is a CA certificate&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;16&lt;/td&gt; &lt;td valign="top" width="460"&gt;parent CA certificates of the CA certificate&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="73"&gt;17&lt;/td&gt; &lt;td valign="top" width="460"&gt;certificate is a key recovery agent certificate&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Disposition values for requests in the log:&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="531"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="61"&gt;&lt;strong&gt;Disposition&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="469"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="61"&gt;20&lt;/td&gt; &lt;td valign="top" width="469"&gt;certificate was issued&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="61"&gt;21&lt;/td&gt; &lt;td valign="top" width="469"&gt;certificate is revoked&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="61"&gt;30&lt;/td&gt; &lt;td valign="top" width="469"&gt;certificate request failed&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="61"&gt;31&lt;/td&gt; &lt;td valign="top" width="469"&gt;certificate request is denied&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Show the &lt;em&gt;SerialNumber&lt;/em&gt; of all issued and revoked certificates:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;certutil -view -restrict "Disposition&amp;gt;=20,Disposition&amp;lt;=21" -out SerialNumber&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Show the most recently issued certificate that is not revoked. To view the certificate copy everything between the line “-----BEGIN CERTIFICATE-----” and “-----END CERTIFICATE-----“ into a file with the file extension CER and open the file. The expression &lt;em&gt;RequestID=$&lt;/em&gt; instructs certutil to sort the database query from high to low and stop after the first entry is displayed.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;certutil -view -restrict "RequestId=$,Disposition=20" -out RawCertificate&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Show all certificate requests that failed for the certificate template with the common name "EnrollmentAgent" after September 24th 2008:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;certutil -view -restrict "Disposition=30,notbefore=&amp;gt;9/24/2008,certificate template=EnrollmentAgent" -out RawCertificate&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Show the &lt;em&gt;SerialNumber&lt;/em&gt; and the &lt;em&gt;Request Status Code&lt;/em&gt; for all certificate requests that have been submitted by &lt;em&gt;CONTOSO\user1&lt;/em&gt;:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;certutil -view -restrict "RequesterName=CONTOSO\user1" -out SerialNumber,StatusCode&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Show all CRL attributes for the CRL that was published before the current CRL:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;certutil -restrict "CRLRowID=$-1" –view CRL&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;u&gt;Note:&lt;/u&gt; If you don’t know how to restrict the query by a certain attribute dump all certificate or request attributes by not specifying the &lt;em&gt;–out&lt;/em&gt; parameter. Then take the output as a sample to build the query with the attributes that you are looking for.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3131853" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category></item><item><title>Marking private keys as non-exportable with certutil -importpfx</title><link>http://blogs.technet.com/pki/archive/2007/07/29/marking-private-keys-as-non-exportable-with-certutil-importpfx.aspx</link><pubDate>Sun, 29 Jul 2007 23:00:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1646874</guid><dc:creator>MS2065</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/pki/comments/1646874.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=1646874</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;When importing a PFX-file with the certificate import wizard, you can choose if the private key should be exportable or not. Your choice is stored in the &lt;A href="http://msdn2.microsoft.com/en-us/library/aa376242.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa376242.aspx"&gt;key storage property identifier&lt;/A&gt; that is key-storage specific. In other words, there is no information in the certificate about the exportability of the related private key. It is possible that if you import the same PFX-file into different computers that the private key is maked as exportable on one computer and is not marked as exportable on another.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;To perform a PFX-file import at a command-line you may be familiar with the certutil -importPFX command. Since Windows Server 2003 SP1, certutil understands extra arguments to improve the PFX import.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;Here is the abstract syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX {PFXfile} [NoExport|NoCert|AT_SIGNATURE|AT_KEYEXCHANGE]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;To make the private key non-exportable, use the following command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX [PFXfile] NoExport&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;To just install the private key but not the certificate, use the NoCert argument. It can be combined with the NoExport argument.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX [PFXfile] NoCert&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;There are two more arguments forcing AT_SIGNATURE or AT_KEYEXCHANGE. Both cannot be used in combination and may require a conversion to a RSA key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX [PFXfile] AT_SIGNATURE&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX [PFXfile] AT_KEYEXCHANGE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;To combine multiple modifiers with one command, all modifiers must appear comma seperated as a single common line parameter. For example:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;&lt;o:p&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Courier New'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;certutil -importPFX [PFXfile] "NoExport,AT_KEYEXCHANGE"&lt;/SPAN&gt;&lt;/P&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1646874" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category></item><item><title>A simple way to set the certutil -config option </title><link>http://blogs.technet.com/pki/archive/2007/05/12/a-simple-way-to-set-the-certutil-config-option.aspx</link><pubDate>Sat, 12 May 2007 21:07:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:943842</guid><dc:creator>MS2065</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/pki/comments/943842.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=943842</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;When you are performing an operation on a remote CA, certutil requires the config string as input parameter. The common way to find out the config string is to run a &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US"&gt;certutil -dump&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt; command, list all available CAs in the Active Directory forest and copy/past the config parameter from the dump into the new command-line.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;There is a much simpler way to set the config string in certutil. Just use a dash as config string and certutil will show a selection dialog with all CAs that are registered in your Active Directory forest.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;For example to verify the responsiveness of a remote CA, run the following command and select the target CA from the list of available CAs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US"&gt;certutil –config - -ping&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=943842" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category></item><item><title>Manually publishing a CA certificate or CRL into a LDAP store</title><link>http://blogs.technet.com/pki/archive/2007/04/13/manually-publishing-a-ca-certificate-or-crl-into-a-ldap-store.aspx</link><pubDate>Fri, 13 Apr 2007 12:27:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:759067</guid><dc:creator>MS2065</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/pki/comments/759067.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=759067</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;The CA is automatically publishing its own certificates and related CRLs into Active Directory if a LDAP reference is configured in the CA property “Extensions”.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;If you are using a different LDAP server (such as Microsoft &lt;A class="" title="Active Directory Application Mode" href="http://www.microsoft.com/adam/" mce_href="http://www.microsoft.com/adam/"&gt;ADAM&lt;/A&gt;) to make the CA certificate and CRL available, certificates and CRLs must be published manually. The easiest way to do that is with certutil.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;Perform the following command to publish the CRL manually into a LDAP-store.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US"&gt;certutil –addstore "LDAP://[server]/[DN]?certificateRevocationList?base?objectclass=cRLDistributionPoint" [CRL-File]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;Replace [server] with the name of the LDAP server where you have write permissions.&lt;BR&gt;Replace [DN] with the path that you have used in the CA configuration.&lt;BR&gt;Replace [CRL-File] with the file name of the CRL that you want to publish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;Here is the command to publish a CA certificate manually:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US"&gt;certutil –addstore "LDAP://[server]/[DN]?cACertificate?base?objectClass=certificationAuthority" [cert-file]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;To manually publish a CA certificate or CRL into Active Directory you should still use &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;certutil –dspublish&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt; instead of &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-themecolor: text1; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;certutil –addstore&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;.&lt;/SPAN&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=759067" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category><category domain="http://blogs.technet.com/pki/archive/tags/Configuration/default.aspx">Configuration</category></item><item><title>How to find out the max size of certificate attributes</title><link>http://blogs.technet.com/pki/archive/2007/02/26/how-to-find-out-the-max-size-of-certificate-attributes.aspx</link><pubDate>Mon, 26 Feb 2007 10:52:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:662741</guid><dc:creator>MS2065</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/pki/comments/662741.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=662741</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;The other day I was asked how many subject alternate names will fit into a single certificate. I asked myself what the best way would be to find out. After a short time of thinking I decided to look at the schema defintion of the CA database. The schema will tell for sure how many characters fit into a certain attribute because the database has to store every attribute for a certificate or a request.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;So the answer is pretty simple here: There is no limit how many items fit into an attribute but there is a limit regarding the total size.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;To determine the max size of a certificate attribut, just run the following command on the CA computer:&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;certutil -schema&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;The output shows information about the max. sizes. Once you have this information, just count the number of characters for an attribute in your certificate request an you know if it fits.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #31849b; LINE-HEIGHT: 115%; FONT-FAMILY: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: EN-US"&gt;Carsten&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=662741" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category><category domain="http://blogs.technet.com/pki/archive/tags/Configuration/default.aspx">Configuration</category></item><item><title>How to manually set the archive flag for certifictes</title><link>http://blogs.technet.com/pki/archive/2007/02/22/how-to-manually-set-the-archive-flag-for-certifictes.aspx</link><pubDate>Thu, 22 Feb 2007 19:19:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:657974</guid><dc:creator>MS2065</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/pki/comments/657974.aspx</comments><wfw:commentRss>http://blogs.technet.com/pki/commentrss.aspx?PostID=657974</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;If you have to select a certain certificate for authentication for example, you may wonder why several certificates are presented by the UI. Internet Explorer may offer several client authentication certificates while securely connecting to a web site or Outlook presents a number of certificates that can be used for eMail encryption.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;One reason for such behavior could be that unnecessarily multiple certificates are available in your certificate store. Multiple certificates for the same purpose can exist if old certificates are not properly archived when new certificates are enrolled. Autoenrollment takes care of the archival process but when certificates are manually enrolled, old certificates are not flagged as archived.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;Instead of deleting certificates (what you should never do with encryption certificates) you can just archive them. Unfortunately, the Certificates MMC snap-in provides no way to set the archive flag for a certificate. Therefore, install and use &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&amp;amp;DisplayLang=en"&gt;CAPICOM&lt;/a&gt; to set the flag for a given certificate with a script. The following script can be used as a sample to archive certificates. CAPICOM is fully documented on &lt;a href="http://msdn.microsoft.com/" mce_href="http://msdn.microsoft.com/"&gt;http://msdn.microsoft.com/&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Option Explicit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Const CAPICOM_CERTIFICATE_FIND_SHA1_HASH &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;= 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Const CAPICOM_CURRENT_USER_STORE&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;= 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Const CAPICOM_STORE_OPEN_READ_WRITE&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;= 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Const CAPICOM_STORE_OPEN_INCLUDE_ARCHIVED&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;= 256&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-outline-level: 1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Dim oArgs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Dim oStore, oCertificates&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-outline-level: 1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Set oArgs = Wscript.Arguments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;if oArgs.Count &amp;lt;&amp;gt; 1 then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;wscript.echo "Must specify the certificate thumbprint as argument"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;wscript.quit 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;end if&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-outline-level: 1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Set oStore = CreateObject("CAPICOM.Store")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;oStore.Open CAPICOM_CURRENT_USER_STORE, "My", CAPICOM_STORE_OPEN_READ_WRITE or CAPICOM_STORE_OPEN_INCLUDE_ARCHIVED&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Set oCertificates = oStore.Certificates.Find(CAPICOM_CERTIFICATE_FIND_SHA1_HASH, oArgs(0))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;if oCertificates.Count = 1 then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oCertificates(1).Archived = false&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;end if&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;oStore.CLose&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-outline-level: 1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Set oCertificates = Nothing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;Set oStore = Nothing&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;The script requires the thumbprint of the certificate to be archived as command-line parameter, for example&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; line-height: 115%; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;cscript archivecert.vbs “be 46 c0 95 ea 4f b7”&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;To un-archive existing certificates, just change the line &lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; line-height: 115%; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;oCertificates(1).Archive=false&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt; to &lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: gray; line-height: 115%; font-family: 'Courier New'; mso-themecolor: background1; mso-themeshade: 128; mso-ansi-language: en-us"&gt;oCertificates(1).Archive=true&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;o:p&gt;Instead using CAPICOM you might also consider the &lt;a class="" title="CertificateProvider Class" href="http://msdn2.microsoft.com/en-us/library/ms553098.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms553098.aspx"&gt;CertificateProvider&lt;/a&gt; class in &lt;a class="" title="Scripting with Windows PowerShell" href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" mce_href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx"&gt;Powershell&lt;/a&gt; to manipulate certificate stores.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;o:p&gt;Also from version 6 on (included in Windows Vista or a more recent Windows version), certutil.exe can be used to archive and un-archive certificates. &lt;/o:p&gt;&lt;/span&gt;&lt;font color="#008080"&gt;To archive a certificate, use Notepad to create a text file &lt;em&gt;Archive.inf &lt;/em&gt;that has the following content:&lt;/font&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font face="Courier New" color="#808080" size="2"&gt;[Properties]&lt;br&gt;19 = Empty&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font color="#008080"&gt;To remove the archive bit from a certificate, use Notepad to create an INF file that has the following content:&lt;/font&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font face="Courier New" color="#808080" size="2"&gt;[Properties]&lt;br&gt;19 =&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font color="#008080"&gt;Then run the following command at a command line for each cert to be archived:&lt;/font&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font color="#008080"&gt;&lt;font face="Courier New" color="#808080" size="2"&gt;certutil –repairstore –user my [CertificateThumbprint] Archive.inf&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;font color="#008080"&gt;In the above command, you can also use a comma-separated list of CertificateThumbprints, if you prefer. If you copy/paste the thumbprint and it includes space characters, the thumbprint must be included in double quotes.&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;Once a certificate is flagged as archived, it does not appear in the certificates MMC snap-in unless the &lt;em&gt;Archived certificates option&lt;/em&gt; is set. Also the certificate selection dialogs in Internet Explorer and Outlook do not show archived certificates.&lt;/span&gt;&lt;span lang="EN-US" style="color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 10pt"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; line-height: 115%; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;To show archived certificates with the certificates MMC snap-in do the following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt 35.7pt; text-indent: -17.85pt; line-height: normal; mso-list: l0 level1 lfo1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us; mso-fareast-font-family: 'Lucida Sans Unicode'"&gt;&lt;span style="mso-list: ignore"&gt;1.&lt;span style="font: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;Open the certificates MMC snap-in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt 35.7pt; text-indent: -17.85pt; line-height: normal; mso-list: l0 level1 lfo1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us; mso-fareast-font-family: 'Lucida Sans Unicode'"&gt;&lt;span style="mso-list: ignore"&gt;2.&lt;span style="font: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;Select the &lt;b style="mso-bidi-font-weight: normal"&gt;Certificates – Current User&lt;/b&gt; container in the left pane&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt 35.7pt; text-indent: -17.85pt; line-height: normal; mso-list: l0 level1 lfo1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us; mso-fareast-font-family: 'Lucida Sans Unicode'"&gt;&lt;span style="mso-list: ignore"&gt;3.&lt;span style="font: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;From the menu chose &lt;b style="mso-bidi-font-weight: normal"&gt;View&lt;/b&gt;&lt;i style="mso-bidi-font-style: normal"&gt; &lt;/i&gt;and then &lt;b style="mso-bidi-font-weight: normal"&gt;Options&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt 35.7pt; text-indent: -17.85pt; line-height: normal; mso-list: l0 level1 lfo1"&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us; mso-fareast-font-family: 'Lucida Sans Unicode'"&gt;&lt;span style="mso-list: ignore"&gt;4.&lt;span style="font: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size: 10pt; color: #31849b; font-family: 'Lucida Sans Unicode','sans-serif'; mso-themecolor: accent5; mso-themeshade: 191; mso-ansi-language: en-us"&gt;Mark the option &lt;b style="mso-bidi-font-weight: normal"&gt;Archived certificates&lt;/b&gt; and click &lt;b style="mso-bidi-font-weight: normal"&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=657974" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/pki/archive/tags/certutil/default.aspx">certutil</category></item></channel></rss>