NIFI-7082 Updated tls-toolkit default server and client certificates validity days to 825 days. (#4046)

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
M Tien 2020-02-10 20:22:49 -05:00 committed by GitHub
parent 58bcd6c5dd
commit 8faea04ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
"caHostname" : "localhost",
"trustStore" : "clientTrustStore",
"trustStoreType" : "jks",
"days" : 1095,
"days" : 825,
"keySize" : 2048,
"keyPairAlgorithm" : "RSA",
"signingAlgorithm" : "SHA256WITHRSA"

View File

@ -4,7 +4,7 @@
"token" : "myTestTokenUseSomethingStronger",
"caHostname" : "localhost",
"port" : 8443,
"days" : 1095,
"days" : 825,
"keySize" : 2048,
"keyPairAlgorithm" : "RSA",
"signingAlgorithm" : "SHA256WITHRSA"

View File

@ -28,7 +28,7 @@ public class TlsConfig {
public static final String DEFAULT_HOSTNAME = "localhost";
public static final String DEFAULT_KEY_STORE_TYPE = "jks";
public static final int DEFAULT_PORT = 8443;
public static final int DEFAULT_DAYS = 3 * 365;
public static final int DEFAULT_DAYS = 825;
public static final int DEFAULT_KEY_SIZE = 2048;
public static final String DEFAULT_KEY_PAIR_ALGORITHM = "RSA";
public static final String DEFAULT_SIGNING_ALGORITHM = "SHA256WITHRSA";