cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services over https (SSL)

lcjr2002
Champ in-the-making
Champ in-the-making
We are using the Alfresco Community edition 4 and we really like all the functionality that Alfresco brings. We are considering moving to the paid version of Alfresco. However, we have run into an issue that is a definite deal breaker. Our team (we are all developers) is having a very difficult time with web services over SSL. We purchased a certificate issue by a public CA (Verisign) and configured Tomcat and Alfresco to work over SSL (https). No problem. Now we need to interface with web services over SSL and that is not working. We have tried coding in NET and Java and we are unable to use web services over https. We can't find any documentation anywhere on how to accomplish this. This is a deal breaker for us in moving to the enterprise version of Alfresco. Can someone please provide instructions on how to use the Alfresco Web Service API over https? Thank you.
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
Have you tried to use the same C# implementation using HTTP?
I suggest to test it on HTTP and then try to use HTTPS.

If you have problems using HTTP then it means that probably you have to implement the WS-Security SOAP header for the UsernameToken that must be coded by yourself in order to work on Alfresco, as any other Web Services applications:
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wss

Alfresco provides a complete Java Web Service client that it could be used to take a look at the code and then try to understand how to set the UsernameToken in C# converting the code from Java to C#.

Hope this helps.

lcjr2002
Champ in-the-making
Champ in-the-making
Thank you. Your suggestions pointed us in the right direction and now everything is working. Everything had to do with the WS-Security SOAP header for the UsernameToken as you indicated.