Call secured .NET Webservice from Alfresco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2014 08:28 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2014 12:39 PM
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
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
