I am editing a InfoPath 2013 form created by another user. When I opened the form I get "The selected form cannot be opened correctly because i was signed with a certificate that is either expired, revoked, not available on the machine, or is not a code signing certificate. To remove the certificate and open the form, click OK." So I need to make changes I click OK. When I finish my changes and attempt to sign the form and press the "Select a Certificate" button nothing appears to happen. If I then select OK I get the message to "Select a Certificate", except I cannot. The dialog window never appears.
The certificate is not expired, revoked or not a code signing certificate. That implies that it is not available on my Machine. I have installed the certificate on my machine using the "Certmgr.exe". When I access the InfoPath Options > Trust Center > Trust Center Settings I see the certificate there, however it is not issued to me. I also see several other certificates.
Someone on our team suggested that I try to create a "self-signed cert" within InfoPath and see if that would unlock the mysteries of the Certificate gathering and attaching wizard to locate the other certificates installed on my machine. After doing that when I press the "Select a Certificate" button the self signed cert is automatically selected as the cert to attach to the form. I am not allowed to "Select" a different cert, it just want to attach the test self signed cert. So now I am doubly screwed as I cannot attach the cert that was on the form originally, nor can I publish this form with an untrusted CA Root Certificate.
So now I need 2 things. Remove any reference to this self signed cert and allow the selection of the 1 true cert.