Highlighted

RightsManagement web service

Avatar

05-08-2008

I have successfully installed a turnkey LiveCycle (WebLogic) server and have written a couple test methods in C# (as proof of concepts). One method I have invokes the rights management web service to apply a policy to a PDF. It appears to work fine, except when the new PDF (with rights) is loaded Adobe Reader tells me:



"You are attempting to connect to an Adobe LiveCycle Policy Server using an insecure protocol (http)....."



And it wont let me view the PDF (which makes sense).



So I configured WebLogic for SSL using the info here: http://www.adobe.com/go/learn_lc_administration. Note: I used the SSL port of 7002, just like in the docs.



Now I am not sure what else i need to do. I am calling the rights management webservice using the Url: http://testbed:8001/soap/services/RightsManagementService and I get the same "insecure protocol" error as above. If I switch the Url to HTTPS and port 7002, the web call fails with "unable to connect to server". I feel i told weblogic how to use SSL, but LiveCycle needs configuration somewhere to make this work.



I guess I am trying to determine what else I need to do in order to allow me to view my PDFS after I apply rights. This is not production, this is just a testbed so we can write some proof-of-concept code.



Any help would be greatly appreciated!

Replies

Highlighted

Avatar

06-08-2008

Ok i managed to get a little further on my own, but am failing on the SSL. By reading this post from previous LC versions(http://www.adobeforums.com/webx/.3bc0a469/0) I realized i needed to set the BASE URL of the Rights Management service to point to the SSL port, like https://192.168.1.x:8443 and to keep calling the web service using the http://192.168.1.x:8001 url.



Now I can call the service, get back my document with rights, and when I load the document I see it is hitting https://192.168.1.x:8443 (because it tells me), but when I allow this I get the error:



"The computer must be connected to the network in order to open this document."



So there must be something more to enabling SSL in WebLogic than was stated here? http://www.adobe.com/go/learn_lc_administration



Any help would be appreciated.
Highlighted

Avatar

Avatar

Jayan_Kandathil

Avatar

Jayan_Kandathil

Jayan_Kandathil

06-08-2008

Highlighted

Avatar

06-08-2008

Thanks! Although I did not see anything different from what was written in the http://www.adobe.com/go/learn_lc_administration guide. I followed that guide for WebLogic SSL, and I am unable to access https urls like https://192.168.1.x:8443/adminui. (Note: I first used port 7002 in weblogic then moved it to 8443)



I am wondering if I setup WebLogic to listen for SSL to port 8443, how it changes what I specify for the base URL for Rights Management Server.
Highlighted

Avatar

Avatar

Jayan_Kandathil

Avatar

Jayan_Kandathil

Jayan_Kandathil

12-08-2008

It won't automatically change the base URL that gets put into policy-applied PDFs. You have to manually change it in the AdminUI. To do that, access the AdminUI through the non-SSL port.