Using a Certificate from a Windows 2008 server for signing form

S

SnoBoy

I have a developer that is trying to digitally sign an InfoPath 2007 form for
use with SharePoint 2007. I know little about InfoPath and can't figure out
how to go about using or creating a certificate to use with it.

Can a certificate be installed on the SharePoint server to be used for this
purpose?
If not, can I use a certificate I have already created on my Windows CA if
it includes Client Authentication? If so, how do I get InfoPath to point to
it?
 
S

S.Y.M. Wong-A-Ton

I haven't yet used Win 2008, so cannot give you specific instructions. But if
you have your own CA, you should be able to issue certificates for use with
InfoPath.

The purpose of the certificate is important if you want to be able to use it
with InfoPath. I don't think one that is for Client Authentication will work,
but then again, I haven't tried it. You need a certificate for signing.

Read the following article which contains all of the info you need to know
what type of cert to create:
http://msdn.microsoft.com/en-us/library/bb608320(office.11).aspx (pay
particular attention to the section on Key Usage).

Once you've created the cert, you need to install it in the certificate
store. Then in InfoPath, you can point to it via Tools > Form Options >
Security and Trust and select Full Trust and Sign this form template.
 
S

SnoBoy

First, Infopath won't let me select the existing certificate in the first
place, which has the Digital Signature usage included, which should work from
what I have read, but if I can select it, there isn't even a way to test it.

Second, I have Developer who is trying to retrive user Profile using (Web
Service "Userprofileservice") and populate the infopath form.

We followed these steps:

1. Created Data Connection in infopath
2. Converted to create Universal Data Connection (UDC) in Data Connection
Library (DCL)
3. To Approve the DCL file -----(Can't check in)
4. Disgarded check out and Approved.
5. Published to the SharePoint library and try to load the infopath
6. Receive Error "data can not be accessed"

Log Error is "10/05/2009 16:28:24.39 w3wp.exe (0x1E44) 0x23E8 Forms Server
Forms Services Runtime - Data C 82fy Warning The following query failed:
GetUserProfileByName (User: obfuscated\obfuscated, Form Name: Proposal Form
obfuscated, IP: , Request:
https://server_FQDN/_layouts/FormSe...roposal/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-com:eek:ffice:infopath:proposal-Form-V11SPTest:-myXSD-2009-08-26T18-21-12,
Type: DataAdapterException, Exception Message: The UDC file contains errors:
Root element is missing.) 6e2417eb-fb5d-4419-a0b9-66fb1baf3a39"
 

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