...
Code Block | ||||
---|---|---|---|---|
| ||||
<VirtualHost *:24445> ProxyPass / http://localhost:4445/ ProxyPassReverse / http://localhost:4445/ # Enable/Disable SSL for this virtual host. SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW SSLCertificateFile /etc/pki/tls/certs/agent_host.crt SSLCertificateKeyFile /etc/pki/tls/private/agent_host.key </VirtualHost> |
Import the self-signed certificate into the
...
Java Truststore
This step is not required if the TLS certificate was bought from a trusted certificate authority.
- Copy the certificate file (e.g. agent_host.crt) to your JobScheduler Master host
- Locate the jvm JVM that JobScheduler Master is using
- If you are uncertain, search the
scheduler.log
file for "jvm.dll
" (Windows) orjvm.so
(Unix). This will list the path of your Java installation (jvm JRE or jreJDK).
- If you are uncertain, search the
- Run the java Java keytool from that java Java installation to import the certificate
Code Block | ||||
---|---|---|---|---|
| ||||
keytool -importcert -keystore <java_for_scheduler>/lib/security/cacerts -alias agent_host -file agent_host.crt -storepass changeit |
See also: https://blogs.oracle.com/java-platform-group/entry/self_signed_certificates_for_a
Configure JobScheduler Master to use the reverse
...
proxy
The proxy URL along with the https HTTPS keyword must be is configured in the process class for the Agent:
...