Status: Open
Status: Answered
Status: Closed
Status: Duplicate

SSL Authentication with REST API

0
Posted Mar 16 by Jayashree Murali.
Updated Mar 16 by Marcin Pacyga.

I am trying to implement REST Service for uploading documents in my CS10 environment.I have written the client service using Jersey and the upload is working fine over http. But, to make the webservice secured, i would like to implement it over https with SSL certificate authentication using the same Jersey Client. We have the Content Server Directory Services but not OTDS in our environment.Is it possible to implemment the same.?

Any suggestions would be greatly appreciated.

3 Answers

0
BEST ANSWER: As chosen by the author.

The AppWorks Gateway requires OpenText Directory Services. In fact, both AppWorks Gateway and Content Server need to share the same OTDS instance for it to work.


0
BEST ANSWER: As chosen by the author.

Hi Jayashree,

I'm in the process of writing a similar interface, would be prepared to share your client as I would dearly like to make sure my client is written in the correct way (I'm not a developer!) and I'm sure the forum would benefit too.

Thanks,

Anthony


0
BEST ANSWER: As chosen by the author.

Yes, it is perfectly possible. Your uploading code logic will be the same, you'll just use a URL with the http protocol: POST to https://server:port/otcs/cs/api/v1/nodes.

If you use a self-signed SSL certificate for the development, you may need to force your REST client library to open the connection, although your certificate is not signed by a trusty CA.


 You have subscribed and will receive email notifications of updates to this topic. To unsubscribe, uncheck the checkbox.

Statistics

Related categories

Related tags

Your answer

To leave an answer, please sign in.