Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-08-2006
tkrieger tkrieger is offline
Registered User
 
Name: Thomas Krieger
Organization: Analytic Pipe GmbH
Project: BISS
 
Join Date: May 2006
Location: Germany
Posts: 17
IceSSL CA public key and C#

Hello,

i have an application which uses IceSSL with it's own CA made with OpenSSL.
So i wrote the application in C# and both sides have an PKCS12 Formated File with the private key and the certificate. Also everyone has the CA self signed public key. Everything works find and the client and server side communicate correctly.

But i wonder how i can get the CA public key in an PKCS12 Format when C# cannot read PEM Strings. So how can IceSSL verify the Client Certificate against the CA public key.

So i tried with an old PKCS12 File from another CA. I replaced the correct PKCS12 File on client side with the old one and again tried to connect. Everything works fine, but i expected now connection in cause of an not correctly signed certificate.

Whats wrong here? Hope someone can help me.

My Server Side IceSSL Parameters:

IceSSL.DefaultDir=C:\projekte\ca_keys
IceSSL.CertFile=server_cert.pfx
IceSSL.Password=ServicePasswort
IceSSL.ImportCert.LocalMachine.AuthRoot=ca_cert.pe m

Best Regards

Thomas Krieger
__________________
------------------------------------------
Thomas Krieger
Analytic Pipe GmbH
http://www.analyticpipe.de
Reply With Quote
  #2 (permalink)  
Old 12-08-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,061
I'm not entirely sure what problem you are having... If sounds like you don't know how to convert a PEM encoded cert into a PKCS#12 formatted cert. If this is the case I suggest you look at the import.py script that is part of the simple CA package.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IceSSL for C#/.NET kwaclaw Comments 2 09-27-2005 11:49 AM
Glacier2 Needs Public IP Wayetender Help Center 1 04-16-2005 12:01 AM
Acess modifier for CommunicatorI is not public vsonnathi Bug Reports 1 11-08-2004 08:04 PM
Chinese tranlation of Distributed Programming with Ice (public review version) weida Comments 13 10-09-2004 07:01 PM
ICE warning LNK4217: locally defined symbol ??0exception@@QAE@ABV0@@Z (public: __this Neo Help Center 1 07-22-2004 06:58 PM


All times are GMT -4. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.