471,350 Members | 1,105 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Communication between c# and java using SSL

Hi all,

I am building an application that use SecureSocket between java and c#.
I found that java need a "keystore" to communicate while c# use cert like
..cer or .p12 or .pfx , etc.
I have difficulties making them communicate.

Can anyone gives examples on how to make the "keystore" using java keytool
and how to generate the corrsponding cert for c#?
And gives example "hello world code" that make them communicate?
(my application need to run on .NET 1.1).

Thanks so much.
Jan 18 '06 #1
1 3611
yaron,

From what I can tell, you can call the setCertificateEntry method on the
KeyStore instance. You pass the alias and the certificate to use. From
there, you should be able to use your KeyStore instance where you need to.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"yaron" <ya***@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
Hi all,

I am building an application that use SecureSocket between java and c#.
I found that java need a "keystore" to communicate while c# use cert like
.cer or .p12 or .pfx , etc.
I have difficulties making them communicate.

Can anyone gives examples on how to make the "keystore" using java keytool
and how to generate the corrsponding cert for c#?
And gives example "hello world code" that make them communicate?
(my application need to run on .NET 1.1).

Thanks so much.

Jan 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John Pedersen | last post: by
2 posts views Thread by Julia Donawald | last post: by
reply views Thread by Mihir Vaidya | last post: by
6 posts views Thread by Kasper Lindberg | last post: by
5 posts views Thread by AeonOfTime | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.