-
Notifications
You must be signed in to change notification settings - Fork 162
Access clusters using SSL
Elasticvue supports clusters using SSL, provided your browser trusts the SSL certificate. Here's how to configure your setup:
The simplest approach is to use Elasticvue desktop, which automatically bypasses certificate restrictions.
Download
If you're not using elasticvue desktop, you need to ensure your browser accepts your cluster's SSL certificate. To test this:
- Open your cluster's URL in your browser.
- If you see a certificate warning, your browser doesn't trust the certificate, and elasticvue won't connect. Choose one of the following solutions:
Use a trusted certificate authority (e.g., Let’s Encrypt) to generate certificates for your cluster. This ensures automatic certificate acceptance by your browser. Ideal for production environments.
Manually add your cluster’s CA to your browser’s certificate store. Steps vary by browser and OS. Here’s how to do it on Linux:
- Chrome:
Settings → Security and Privacy → Security → Manage certificates → Authorities Tab → Import → Select your CA → Check "Trust this CA to identify websites."
- Firefox:
Settings → Privacy & Security → Certificates → View Certificates... → Authorities Tab → Import... → Select your CA → Check "Trust this CA to identify websites."
For Elasticsearch 8, import the file located at: elasticsearch/config/certs/http_ca.crt
- When elasticvue displays an error message about the untrusted certificate, click the link to your cluster (or open the URL manually in your browser).
- Your browser will warn you about the untrusted certificate. Accept the warning and trust the certificate.
- Return to elasticvue and test the connection again. It should now work.
Drawback: Trust a certificate this way is only temporary, and you may need to repeat these steps every time you restart your browser.
Set up a local proxy server, such as simprox, to bypass browser restrictions. Here's how:
- Start the proxy server:
simprox -h 127.0.0.1:7000 -t https://your.cluster.com --skip-ssl-verify
- Connect to
http://localhost:7000
(use http, not https) in elasticvue. If your cluster uses authentication, enter your username/password in elasticvue.
By following these steps, you can securely connect elasticvue to an SSL-enabled cluster, regardless of your setup.