Certificate despair

  • Thread starter Gustaf Liljegren
  • Start date
G

Gustaf Liljegren

Just got my certificate from VeriSign today. I'll use it to sign form
templates so that customers can open my full-trust forms easily and with
confidence. However, the certificate don't turn up in the Select
Certificate dialog box in InfoPath! :-(

I noticed that when creating a dummy certificate in InfoPath, it turns
up in the "Personal" store. I have installed my new certificate there
aswell as in the "Trusted Root Certification Authorities" store, but
it's still hidden from InfoPath.

I talked to people at VeriSign two times to make sure I'd get the right
thing. They didn't really know about InfoPath, but believed this would
be the one. It's called a "Microsoft Authenticode Digital ID". Can
anyone confirm this is right? And how do I get InfoPath to accept it?

Gustaf
 
B

Brisk

start->run, type mmc (hit enter)
File->Add/Remove Snap In
click Add
double click Certificate, click Finish
click Close to close the 'Add Standalone Snap-In' dialog
click Ok on Add.Remove Snap-In dialog
expand Certificates and click on Personal ... import your certificate
into this Personal certificate store (right click, All Tasks->import)
 
G

Gustaf Liljegren

Brisk said:
expand Certificates and click on Personal ... import your certificate
into this Personal certificate store (right click, All Tasks->import)

This is not so helpful. As I wrote, I've already imported the
certificate. The problem is that it doesn't show up in InfoPath.

Gustaf
 
B

Brisk

From the personal certificate store, right click on the certificate and
view properties ... if "Sign Code" is not an option, and you are not
able to add it as an option, i'd contact verisign b/c i think it's the
wrong certificate

....my apologies is this too is unhelphul.
 
G

Gustaf Liljegren

Brisk said:
From the personal certificate store, right click on the certificate and
view properties ... if "Sign Code" is not an option, and you are not
able to add it as an option, i'd contact verisign b/c i think it's the
wrong certificate

Thank you. Sign code is an option. When importing the certificate (an
*.spc file), I get 2 certificates in the Personal store. One named after
my company (with code signing), and one named "VeriSign Class 3 Code
Signing 2004 CA" (with code signing and client authentication). I guess
it's the first one I shall use in InfoPath.

After importing, I restart InfoPath. After that, I have expected the
certficiate to be there when I want to select one under Form Options,
but it's not.

Gustaf
 
B

bparfitt

I have the same problem. Verisign code signing certificate doesn't show up in
Infopath 'Select Certificate' form. Confirmed that it is in same folder (via
mmc) as the personal certificates that I crete within Infopath. Also
confirmed that it is a codesigning cert.

Anyone have any suggestions?

Brian
 
O

okviz

I was also having this problem and after a bit of searching found that you
need to import the key with MS Digital Certificate Files Importer
(pvkimprt.exe) which can be downloaded from here and also has instructions

http://www.microsoft.com/downloads/...94-B129-46BC-B240-414BDFF679A7&displaylang=EN

This is because the private key is stored in the PVK file and can't be
imported through the certificates MMC snap in. Once you run this tool and
view your certificate through the MMC snap-in you should see "You have a
private key that corresponds to this certificate." at the bottom of the
general tab. If this is not present you will not be able to use this key for
code signing.


okviz
 
N

NelsonR

Hi Gustaf,

We ran into the same problem with InfoPath and discovered two key items
you need to know. First, you need to make sure you have the private key
for the certificate. If you view the certificate once installed and it
does not state that you have the private key for the certificate (in
the bottom of the General tab), it won't work.

Second, you have to install the certificate in the current user's
personal store. Certificates installed in the computer's store do not
work with InfoPath.

Hope this helps. We just made sure we met both of these conditions and
were able to sing InfoPath forms with no problem or issue.

Nelson
 
M

mr.walker

Hi, okviz!

You really are an angel.
I had the same problem and this little tip finally made it.

Thanx a 1000 0000 :)
/Jimmy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top