Click here to get back home

Several questions on code signing / smartcards / Win CA

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Several questions on code signing / smartcards / Win CA @nirgendwo 08-25-2005
Posted by @nirgendwo on August 25, 2005, 4:24 am
Please log in for more thread options
I have a couple of questions around code signing with MS technology:

1. Is there a way to transfer the generated strong name signing private key
directly to a smartcard (or generate it on the smart card), without the
unsecure intermediate storage to the filesystem using sn -k and sn -i?

2. What is the format of the key files produced by sn -k and sn -p?

3. Is there a way to generate a PKCS#10 format certificate request from the
sn -p public key for generation of a certificate with the Windows2003 server
CA?

4. Is there any other way to generate a certificate with the Windows 2003
server CA from a sn -p public key?

5. How/what for can the certificate that is generated using Windows 2003
server CA and the Code Signing template be used? SN signing? Authenticode
signing? DOTNET strong name signing? Sth else?

6. How do I write the certificate and private key that is generated using
Windows 2003 server CA and the Code Signing template to a smart card (for
this template the private key is marked non-exportable)?

7. How do I generate an authenticode SW publisher cert using the Windows
2003 server CA (without involving an external CA such as Verisign)?

8. For 7, how do I get that private key onto a smartcard?


After some additionl experimentation, it seems that 6/7/8 could be solved if
I was able to either

9. Create the new key pair for a Code Signing cert in the Windows CA
directly into the smartcard using the smartcard CSP. Problem: I can in this
user interface onyl select one of the three Windows CSPs, but not my
smartcard CSP.

or

10. Use for the generation of a Code Signing cert in the Windows CA a
preexisting key pair in a container on my smartcard, which I generated either
using sn -k/sn -i, or using makecert (diregarding the test cert). Again, this
approach fails because I can not select the smartcard CSP as key source.

Thanks for any help/guidance!

Best regards,
Martin



Similar ThreadsPosted
Code Signing Cert not trusted? October 19, 2007, 1:33 pm
Expired Code Signing Cert with VBScript September 12, 2006, 9:17 am
Requesting Code signing cert from cert services November 4, 2005, 12:11 pm
Smartcards for Windows August 12, 2006, 2:48 pm
Is third-party middleware required when deploying smartcards? October 1, 2007, 12:02 pm
PKI: CA Signing Key Expiry and CRL Publication July 8, 2005, 7:41 am
Not certified for Certificate Signing October 12, 2005, 7:48 pm
Permanently disable SMB signing February 22, 2006, 8:09 pm
SMB signing on member server November 26, 2007, 12:40 pm
Signing an OpenSSL CSR with Microsoft Certificate Authority July 24, 2005, 10:33 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap