You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If running with --clear, then the existing index will be cleared before the import starts.
41
41
42
42
To run with the web interface, run the following in your terminal:
43
-
```
43
+
```console
44
44
java -Xmx2g -jar excelastic.jar
45
45
```
46
46
When the application successfully connects to the ElasticSearch server, the browser will automatically open a new tab.
47
47
48
48
If any connection errors occur check that the ElasticSearch listen port matches with the elastic_port in the configuration file. Make sure that ElasticSearch is running by directing your browser at [localhost:9200](http://localhost:9200/).
49
49
50
50
Compiling a new fatjar and run tests,
51
-
```
51
+
```console
52
52
mvn clean package
53
53
```
54
54
@@ -58,7 +58,7 @@ mvn clean package
58
58
59
59
The configuration file is placed in the same directory as the jar.
60
60
An example of the configuration:
61
-
```
61
+
```javascript
62
62
{
63
63
"web_port":0, // the port the web interface listens on
64
64
"elastic_port":9200, // the port elasticsearch listens on
@@ -74,10 +74,37 @@ Note that the comments cannot be included in the configuration file.
74
74
75
75
If no configuration file is present a new configuration file will be created using the default values listed here.
76
76
77
+
### TLS
78
+
When using a self-signed certificate on the ElasticSearch server the server certificate needs to be trusted. By default the client uses the JVM truststore, which will work if the certificate was signed by a reputable certificate authority. This isn't the case for most internal resources/servers. In this case we need to explicitly trust the organizations root certificate (issuer) or the servers certificate directly.
79
+
80
+
Importing a .pem certificate into a new or existing keystore,
0 commit comments