Open topic with navigation
By default, Find runs in plain HTTP mode. You can configure it to use SSL communications, by setting the appropriate system properties in the Java run command.
If you enable SSL, you cannot use plain HTTP with Find.
To configure Find to use SSL
Start Find with the Java run command, and include the following arguments:
-Dserver.ssl.key-store=path_to_keystore -Dserver.ssl.key-store-password=keystore_password -Dserver.ssl.key-password=key_password -Dserver.port=server_port
is the path to a keystore. You must create a keystore and import your certificates into it. By default, Find expects this keystore to be in JKS format. For more information on JKS keystore creation, see https://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html.
If you want to use a keystore in a different format, you must also set the
||is the password for the keystore.|
||is the password for the key inside the keystore.|
||is the port to user for Find. To use SSL, you must change this value from the default port (that is, you must not use port 8080). Typically you use port 8443, but you can use any valid port value.|
java -Dserver.ssl.key-store=/etc/ssl/private/keystore.jks -Dserver.ssl.key-store-password=MyPassword -Dserver.ssl.key-password=KeyPassword -Dhp.find.home=[home directory] -Dserver.port=8443 -jar find.war -uriEncoding utf-8
If you run Find as a service on Windows, you can also add the same arguments to the
If you run Find as a service on Linux, you can add the argument to the existing arguments variable in
find.sh for SysV, or
find.conf for Upstart.
When you modify the Find configuration by modifying the XML file or start scripts, you must restart Find to apply your configuration changes.
For more information on installing and running Find as a service on Windows or Linux, see Install Find.