Skip to content

Commit

Permalink
Changing default TLS config to off
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassaldanha committed Aug 8, 2018
1 parent fc98343 commit 3ad342b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/consensys/orion/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public String storage() {
* security mechanism like WireGuard is in place.
* </ul>
*
* <strong>Default:</strong> "strict"
* <strong>Default:</strong> "off"
*
* @see #tlsServerTrust()
* @see #tlsClientTrust()
Expand Down Expand Up @@ -534,7 +534,7 @@ private static Schema configSchema() {

schemaBuilder.addString(
"tls",
"strict",
"off",
"TLS status. Options:\n"
+ "\n"
+ " - strict: All connections to and from this node must use TLS with mutual\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void fullFileReadUsingDefaults() throws Exception {
Config testConf = Config.load(this.getClass().getClassLoader().getResourceAsStream("defaultConfigTest.toml"));

assertEquals("leveldb", testConf.storage());
assertEquals("strict", testConf.tls());
assertEquals("off", testConf.tls());
assertEquals("tofu", testConf.tlsServerTrust());
assertEquals("ca-or-tofu", testConf.tlsClientTrust());

Expand Down

0 comments on commit 3ad342b

Please sign in to comment.