Configure TLS
TLS can be configured on the RTP Proxy, the MFE, and the IAC.
Configure TLS for the RTP Proxy
- Copy the public key of the Converged Application Server to the
/opt/ORACLE_HOME/config/security/directory of each RTP Proxy VM. - SSH to the RTP Proxy VM.
- Elevate your privileges to root.
- Navigate to the
securitydirectory.cd /opt/ORACLE_HOME/config/security/ - Remove the existing certificate.
rm public.pem server.p12 - Create a new self-signed keystore with your RTP Proxy in the SAN field.
keytool -genkeypair \ -alias 1 \ -keyalg RSA \ -keysize 2048 \ -validity 365 \ -keystore server.p12 \ -storetype PKCS12 \ -storepass <password> \ -dname "CN=<PRIMARY_IP>, O=<YOUR_ORG>, L=<CITY>, ST=<STATE>, C=<COUNTRY_CODE>" \ -ext "SAN=IP:<PRIMARY_IP>,IP:<SECONDARY_IP>,DNS:localhost" - Verify the key store has stored the certificate.
keytool -list -keystore server.p12 -storetype PKCS12 -storepass <password> - Export the certificate to a file called
server.crt.keytool -exportcert \ -alias 1 \ -keystore server.p12 \ -storetype PKCS12 \ -storepass <password> \ -file server.crt \ -rfc - Create the client trust store by importing the certificate file.
keytool -importcert \ -file server.crt \ -alias 1 \ -keystore client-truststore.jks \ -storepass <password> \ -noprompt - Copy the
client-truststore.jksfile to the Oracle_Home directory of the Converged Application Server.For example:
scp client-truststore.jks oracle@<IP-address>:Oracle/Middleware/Oracle_Home/ - Set the
Controller.tls.enabledproperty to true. - Open the
/opt/ORACLE_HOME/systemd/rtp-proxy-controller.envfile and set the following environmental variables:- TLS_KEY_ALIAS
- TLS_KEYSTORE_PASSPHRASE
- TLS_KEY_PASS
- If you have previously installed the systemd service for RTP Proxy, re-run the installation script to apply your updates.
./install-systemd.sh - SSH to your Converged Application Server.
- If you have an existing truststore file, merge the two files into one truststore.
keytool -importkeystore \ -srckeystore <source-truststore.jks> \ -srcstorepass <password> \ -destkeystore client-truststore.jks \ -deststorepass <password> \ -srcstoretype JKS \ -deststoretype JKS \ -nopromptYou can validate the process worked with the command:keytool -list -keystore client-truststore.jks - Edit the
<Domain_Home>/bin/setDomainEnv.shfile to add the truststore file to theSAVE_JAVA_OPTIONSparameter.SAVE_JAVA_OPTIONS="${JAVA_OPTIONS} \ -Djavax.net.ssl.trustStore=${ORACLE_HOME}/client-truststore.jks \ -Djavax.net.ssl.trustStorePassword=<password> \ -Djavax.net.ssl.trustStoreType=JKS" - Restart the Admin Server and Managed Servers.
The RTP Proxy will serve the certificate loaded from server.p12, and the Converged Application Server will trust the certificate.
Configure TLS for the MFE
Follow these steps to enable TLS for the MFE.
- Connect to the VM where you installed the MFE.
- Navigate to the MFE's
configdirectory.cd media-flow-engine-8.3.0.0.0-MFE/MFE_HOME/config/ - In the
application.yamlfile, set theserver.tls.enabledproperty to true.server: http-port: 8080 https-port: 8443 tls: enabled: true client-auth: "NONE" protocols: [TLSv1.3, TLSv1.2]
Configure TLS for the IAC
Follow these steps to enable TLS for the IAC.
- Connect to the VM where you installed the IAC.
- Navigate to the IAC's
configdirectory.cd IntelligentAIConnector-8.3.0.0.0-AIC/AIC_HOME/config/ - In the
application.yamlfile, set theserver.tls.enabledproperty to true.server: http-port: 8080 https-port: 8443 tls: enabled: true client-auth: "NONE" protocols: [TLSv1.3, TLSv1.2]