cancel
Showing results for 
Search instead for 
Did you mean: 

Call secured .NET Webservice from Alfresco

guiguik
Champ in-the-making
Champ in-the-making
Hi guys,

I'm sorry I'm new in Web Service specification and more specially with secured web service.

I try to access a secured web service given by a .net application from an Alfreco web script. I've got .pfx file and .cer file and I already have method to access to a similar unsecured web service.

So I just have to add certificate but after a lot of research I'm a little bit lost and I don't know where begin.

Can somebody help me?

Cdt
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Alfresco is a Java App so you need to convert the MS stuff to Java, in particular your pfx files and cer files will probably be replaced by one or two keystores.

It sounds like you already have a Web Service client which works so you just need to work out how your client deals with the SSL connection from your web service client.   Hopefully it will just be a matter of changing a couple of configuration parameters and configuring your keystore.

The good news is that it seems to be fairly straightforward to convert a pfx file to a keystore e.g http://stackoverflow.com/questions/4217107/how-to-convert-pfx-file-to-keystore-with-private-key