Try OpenEdge Now
skip to main content
Administration
REST Administration : REST Web Application Administration : Managing REST Web applications : SSL support for REST Web applications : Enabling the REST Web application for HTTPS client connections
 
Enabling the REST Web application for HTTPS client connections
OpenEdge supports SSL-enabled communications between the Web server on which the REST Management Agent runs and a Web server client. To achieve this, you must enable the REST Web application for HTTPS (SSL) connections.
To enable the REST Web application for SSL:
1. Open the REST Web application's web.xml file (typically, in the folder application-name\WEB-INF).
2. Identify and uncomment the code inside the tag <!--Certificate jar location-->.
After uncommenting, your code must look as shown below:
<!-- Certificate jar location -->

<context-param>
<param-name>certlocation</param-name>

<param-value>psccerts-directory-location</param-value>

</context-param>
Note: The psccerts is the certificate shipped with the OpenEdge installation. If you wish to you use your own certificate, you must ensure that the path in the <param-value> tag points to the directory location of your certificate.
3. Enable and configure the Web server for SSL support.
This includes installing the Web server digital certificate on the Web server. For more information, see the Web server documentation.
4. Using a text editor, edit the ubroker.properties file to set the REST URL (value of the restUrl property) to use the HTTPS protocol (instead of HTTP).
5. Save the ubroker.properties file.