Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - WCF X509 Certificate Problem

 
 
Old 07-05-2007   #1 (permalink)
Markus Strobl


 
 

WCF X509 Certificate Problem

Hi!

I'm trying to secure my self-hosted WCF service via X509 certificates.

I followed the steps in this MSDN article:

http://msdn2.microsoft.com/en-us/library/ms732391.aspx

but it seems that there's something wrong with my test certificates because
when i try to call my webservice the following exception is raised:

The socket connection was aborted. This could be caused by an error
processing your message or a receive timeout being exceeded by t
he remote host, or an underlying network resource issue. Local socket
timeout was '00:29:59.9531547'.

I created my test certificates like this:

makecert.exe -r -pe -sv MyPrivateKey.pvk -n "CN=xrac131.grz.rbgooe.at"
MyPublicKey.cer -sky exchange

pvk2pfx.exe -pvk MyPrivateKey.pvk -spc MyPublicKey.cer -pfx
MyPrivatePublicKeyExchange.pfx

and installed them in the CurrentUser certificate store using Internet
Explorer.

WCF can find the certificate and uses it but they somehow don't fit
together.

If i turn of security everything works fine.

Another general question: Am i right when i suppose that the server has to
use the .pfx-File and the client only has to use the .cer-file with the
public key?

Any help would be greatly appreciated!

Thanks a lot in advance!

Markus



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Problem with generating a certificate Network & Sharing
Mail Certificate problem? Vista mail
urgent! .cer certificate installation problem.. Vista security
Import Certificate Problem Vista security
Certificate problem Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46