Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

WCF X509 Certificate Problem

 
 
Thread Tools Display Modes
Old 07-05-2007   #1 (permalink)
Markus Strobl
Guest


 

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


 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Certificate problem? Allie Vista mail 3 04-30-2008 06:14 PM
urgent! .cer certificate installation problem.. Encio Vista security 3 11-09-2007 10:08 AM
Import Certificate Problem Dileesh Vista security 2 04-16-2007 11:58 PM
Certificate problem Allan Riise Vista security 11 01-19-2007 12:34 PM
Problem with website security certificate?!?!?! czarwyd Vista networking & sharing 2 11-02-2006 09:52 AM








Vistax64.com 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 2005-2008

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 47 48 49 50