Configuring the RTP Proxy
After installing the RTP Proxy, follow one of these procedures to identify the RTP Proxy to your Converged Application Server.
Remote Console
You may use the Remote Console to identify the RTP Proxy to your Converged Application Server instance.
- From the Edit Tree, select .
- Click New.
- Enter the following required fields:
- Server Name – Enter a name for this proxy, such as RTP-1.
- Management IP Address – Enter the management IP address for this proxy.
This IP address is the same identified in the
Controller.main.server.hostparameter of theconfig.yamlfile. - Management Port – Enter the port that the RTP Proxy will use for HTTPS management traffic.
This value must match the value of
Controller.main.server.httpsPortin theconfig.yamlfile. - Secondary Port (Non-TLS) – Enter the port that the RTP Proxy will use for HTTP management traffic.
This value must match the value of
Controller.main.server.portin theconfig.yamlfile.
- To enable TLS, move the SSL/TLS Enabled slider to the right.
Note:
If you enable TLS, you must create a keystore and update theJAVA_OPTIONSvariable to point to your keystore.JAVA_OPTIONS="${SAVE_JAVA_OPTIONS} \ -Djavax.net.ssl.trustStore=${ORACLE_HOME}/client-truststore.jks \ -Djavax.net.ssl.trustStorePassword=changeit \ -Djavax.net.ssl.trustStoreType=JKS"See the keytool documentation for instructions on creating a keystore.
- Select Create.
- Select the shopping cart and then Commit Changes.
REST APIs
You may use the REST API to identify the RTP Proxy to your Converged Application Server instance.
Send a POST request to the endpoint /management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines/.
curl -X POST \
--user <ADMIN_USERNAME>:<ADMIN_PASSWORD> \
-H 'X-Requested-By:MyClient' \
-H 'Accept:application/json' \
-H 'Content-Type:application/json' \
-d @rtp.json \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys/"
The contents of the rtp.json file sent in the request must contain the parameters shown below. Modify the values to match with your deployment. Note that 8443 is the default TLS port for the RTP Proxy and 8080 is the default non-TLS port for the RTP Proxy.
{
"managementIP": "10.0.0.7",
"managementPort": 8443,
"rtpProxyName": "example.net",
"sslEnabled": false,
"secondaryPort": 8080
}