@@ -1170,6 +1170,56 @@ private void createConfiguration() {
11701170 baseConfig .put ("node.portsfile" , "true" );
11711171 baseConfig .put ("http.port" , httpPort );
11721172 baseConfig .put ("transport.port" , transportPort );
1173+ baseConfig .put ("http.host" , "192.168.33.46" );
1174+
1175+
1176+ // self-signed CA authority
1177+ baseConfig .put ("reindex.ssl.certificate_authorities" , "/home/iwan/workspace/OpenSearch/certs/centST9/root-ca.pem" );
1178+
1179+ // DSA (basically can only be used for signing)
1180+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-DSA.pem");
1181+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-DSA.pem");
1182+
1183+ // DSA enc
1184+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-DSA.pem");
1185+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-DSA-enc.pem");
1186+ // baseConfig.put("reindex.ssl.key_passphrase", "password");
1187+
1188+ // Elliptic Curve Diffie-Hellman (ECDH) secp256r1 aka prime256v1
1189+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-EC.pem");
1190+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-secp256r1.pem");
1191+
1192+ // Elliptic Curve enc
1193+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-EC.pem");
1194+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-secp256r1-enc.pem");
1195+ // baseConfig.put("reindex.ssl.key_passphrase", "password");
1196+
1197+ // RSA PKCS#1
1198+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-PKCS1.pem");
1199+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-PKCS1.pem");
1200+
1201+ // RSA PKCS#1 enc
1202+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-PKCS1.pem");
1203+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-PKCS1-enc.pem");
1204+ // baseConfig.put("reindex.ssl.key_passphrase", "password");
1205+
1206+ // RSA PKCS#8
1207+ // baseConfig.put("reindex.ssl.certificate", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-PKCS8.pem");
1208+ // baseConfig.put("reindex.ssl.key", "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-PKCS8.pem");
1209+
1210+ // RSA PKCS#8 enc
1211+ baseConfig .put ("reindex.ssl.certificate" , "/home/iwan/workspace/OpenSearch/certs/centST9/node2-PKCS8-enc.pem" );
1212+ baseConfig .put ("reindex.ssl.key" , "/home/iwan/workspace/OpenSearch/certs/centST9/node2-key-PKCS8-enc.pem" );
1213+ baseConfig .put ("reindex.ssl.key_passphrase" , "rzg9RxrMBDU3jV^^$vNB" );
1214+
1215+ // keystore + struststore config
1216+ // baseConfig.put("reindex.ssl.keystore.path", "/home/iwan/workspace/OpenSearch/certs/centST9/keystore.bks");
1217+ // baseConfig.put("reindex.ssl.keystore.password", "password");
1218+ // baseConfig.put("reindex.ssl.truststore.path", "/home/iwan/workspace/OpenSearch/certs/centST9/truststore.bks");
1219+ // baseConfig.put("reindex.ssl.truststore.password", "password");
1220+
1221+ baseConfig .put ("reindex.remote.whitelist" , "node1.dns.a-record:10200" );
1222+
11731223 // Default the watermarks to absurdly low to prevent the tests from failing on nodes without enough disk space
11741224 baseConfig .put ("cluster.routing.allocation.disk.watermark.low" , "1b" );
11751225 baseConfig .put ("cluster.routing.allocation.disk.watermark.high" , "1b" );
0 commit comments