Sign In
My Nuggets
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search Blogs
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
CA
Certificate Authority
export certificate pfx powershell
makecert.exe
p7b
pfx store powershell
pkcs7
powershell
powershell ISignerCertificate PrivateKey KSP
signedcms
X509Certificate2
X509certificate2Collection
X509Enrollment
X509Store
Archive
Archives
March 2010
(1)
October 2009
(1)
September 2009
(1)
August 2009
(3)
April 2009
(1)
TechNet Blogs
>
My Nuggets
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
My Nuggets
Verifying the private key property for a certificate in the store
Posted
over 2 years ago
by
VishalAgarwal
0
Comments
I was recently asked as to how to figure out if the private key associated with a certificate is exportable or not. Typically the following code should work: >$cert = (dir cert:\localmachine\my)[0] >$cert.PrivateKey.CspKeyContainerInfo.Exportable...
My Nuggets
Instantiate Microsoft Certificate Authority management interface using powershell
Posted
over 3 years ago
by
VishalAgarwal
0
Comments
Microsoft's Certificate Authority management interface as mentioned in http://msdn.microsoft.com/en-us/library/aa383234(VS.85).aspx is implemented in certadm.dll. certadm.dll does not ship by default on client system and is part of admin pack (or called...
My Nuggets
exporting certificate from user store to PFX using powershell
Posted
over 3 years ago
by
VishalAgarwal
1
Comments
Alright, so today someone tried to contact me with an interesting email about exporting the certificate user store to PFX using powershell. Below is the code that was contained in the email: $cert = (dir cert:\currentuser\my)[0] $type = [System...
My Nuggets
Importing a PFX into user store using powershell
Posted
over 3 years ago
by
VishalAgarwal
0
Comments
This is a short post as someone asked me to give a sample for importing a pfx into user store using powershell: $pfxcert = new-object system.security.cryptography.x509certificates.x509certificate2 $pfxcert.Import("pfxtest.pfx", "mypwd", [System...
My Nuggets
Generating a certificate (self-signed) using powershell and CertEnroll interfaces
Posted
over 3 years ago
by
VishalAgarwal
2
Comments
In this article I will explore using the certenroll interfaces to create certificates for testing/local usage. To scope the discussion, we would look at various options exposed via makecert.exe tool ( http://msdn.microsoft.com/en-us/library/aa386968(VS...
My Nuggets
Adding certificates for a serialized store (sst) file to an actual physical store
Posted
over 3 years ago
by
VishalAgarwal
0
Comments
In my previous post I used the CMS type to open a PKCS7. Apparently X509Certificate2Collection Import method can also be used to open up a PKCS7. This would be far more simpler then using CMS. Additionally, you might be asked to add the certificates...
My Nuggets
PKCS7 (p7b) bag of certificates and powershell
Posted
over 3 years ago
by
VishalAgarwal
2
Comments
Recently I was asked how to extract the certificates within a PKCS7 (p7b) files using powershell. After a little research the following seems to work fine: [reflection.assembly]::LoadWithPartialName("System.Security") $data = [System.IO.File]::ReadAllBytes...
Page 1 of 1 (7 items)