Signing vbs with military CAC

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
rob31312
Posts: 1
Last visit: Tue May 22, 2012 1:35 am

Signing vbs with military CAC

Post by rob31312 »

I am trying to use vbs to sign another vbs using my certificate stored on a CAC. Can this be done? I already use it to sign VBA through the VBA tools menu, but when I try to use a script to sign, I get an unknown error. I believe it cant read my CAC and prompt me for my PIN, and I cant export to a .pfx, only a .cer. If I cant do it via vbs, is there another way?
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked