Enabling SSL on Fusion Admin UI
There is an updated version of this tutorial available in the Fusion documentation.
Lucidworks Fusion can encrypt communications to and from clients with SSL. This section describes enabling SSL on Fusion Admin UI with the Jetty server using a self-signed certificate.
keytool -genkeypair -alias fusion -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystore fusion.keystore.jks -ext SAN=DNS:localhost,IP:127.0.0.1 -dname “CN=localhost, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country”
The above command will create a keystore file named fusion.keystore.jks in the current directory.
keytool -importkeystore -srckeystore fusion.keystore.jks -destkeystore fusion.keystore.p12 -srcstoretype jks -deststoretype pkcs12
openssl pkcs12 -in fusion.keystore.p12 -out fusion.pem
-
“https.port=$HTTP_PORT”
-
“$JETTY_BASE/etc/jetty-ssl.xml”
-
“$JETTY_BASE/etc/jetty-https.xml”
To start all services, run $FUSION_HOME/bin/fusion start. This will start Solr, the Fusion API, the Admin UI, and Connectors, which each run in their own Jetty instances and on their own ports
bin/fusion start
After that, trust Fusion website (This is because we are in local machine).
Finally, Fusion Admin UI with SSL
Best of the Month. Straight to Your Inbox!
Dive into the best content with our monthly Roundup Newsletter!
Each month, we handpick the top stories, insights, and updates to keep you in the know.