类 TlsSystemConfig
- java.lang.Object
-
- com.alibaba.nacos.common.tls.TlsSystemConfig
-
public final class TlsSystemConfig extends java.lang.Objecttls system config.- 作者:
- wangwei
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringCHECK_INTERVALstatic java.lang.StringCLIENT_AUTHstatic java.lang.StringCLIENT_CERTPATHstatic java.lang.StringCLIENT_KEYPASSWORDstatic java.lang.StringCLIENT_KEYPATHstatic java.lang.StringCLIENT_TRUST_CERTstatic java.lang.StringSERVER_AUTHstatic java.lang.StringSERVER_CERTPATHstatic java.lang.StringSERVER_KEYPASSWORDstatic java.lang.StringSERVER_KEYPATHstatic java.lang.StringSERVER_TRUST_CERTstatic java.lang.StringTLS_ENABLEstatic java.lang.StringTLS_TEST_MODE_ENABLEstatic booleantlsClientAuthServerTo determine whether verify the server endpoint's certificate strictly.static java.lang.StringtlsClientCertPathThe store path of client-side X.509 certificate chain in PEM format.static java.lang.StringtlsClientKeyPasswordThe password of the client-side private key.static java.lang.StringtlsClientKeyPathThe store path of client-side private key.static java.lang.StringtlsClientTrustCertPathThe store path of trusted certificates for verifying the server endpoint's certificate.static booleantlsEnableTo determine whether use SSL in client-side.static inttlsFileCheckIntervaltls file check interval , default is 10 min.static booleantlsServerAuthClientTo determine whether verify the client endpoint's certificate strictly.static java.lang.StringtlsServerCertPathThe store path of server-side X.509 certificate chain in PEM format.static java.lang.StringtlsServerKeyPasswordThe password of the server-side private key.static java.lang.StringtlsServerKeyPathThe store path of server-side private key.static java.lang.StringtlsServerTrustCertPathThe store path of trusted certificates for verifying the client endpoint's certificate.static booleantlsTestModeEnableTo determine whether use test mode when initialize TLS context.
-
构造器概要
构造器 构造器 说明 TlsSystemConfig()
-
-
-
字段详细资料
-
TLS_TEST_MODE_ENABLE
public static final java.lang.String TLS_TEST_MODE_ENABLE
- 另请参阅:
- 常量字段值
-
TLS_ENABLE
public static final java.lang.String TLS_ENABLE
- 另请参阅:
- 常量字段值
-
CLIENT_AUTH
public static final java.lang.String CLIENT_AUTH
- 另请参阅:
- 常量字段值
-
CLIENT_KEYPATH
public static final java.lang.String CLIENT_KEYPATH
- 另请参阅:
- 常量字段值
-
CLIENT_KEYPASSWORD
public static final java.lang.String CLIENT_KEYPASSWORD
- 另请参阅:
- 常量字段值
-
CLIENT_CERTPATH
public static final java.lang.String CLIENT_CERTPATH
- 另请参阅:
- 常量字段值
-
CLIENT_TRUST_CERT
public static final java.lang.String CLIENT_TRUST_CERT
- 另请参阅:
- 常量字段值
-
SERVER_AUTH
public static final java.lang.String SERVER_AUTH
- 另请参阅:
- 常量字段值
-
SERVER_KEYPATH
public static final java.lang.String SERVER_KEYPATH
- 另请参阅:
- 常量字段值
-
SERVER_KEYPASSWORD
public static final java.lang.String SERVER_KEYPASSWORD
- 另请参阅:
- 常量字段值
-
SERVER_CERTPATH
public static final java.lang.String SERVER_CERTPATH
- 另请参阅:
- 常量字段值
-
SERVER_TRUST_CERT
public static final java.lang.String SERVER_TRUST_CERT
- 另请参阅:
- 常量字段值
-
CHECK_INTERVAL
public static final java.lang.String CHECK_INTERVAL
- 另请参阅:
- 常量字段值
-
tlsEnable
public static boolean tlsEnable
To determine whether use SSL in client-side.
-
tlsTestModeEnable
public static boolean tlsTestModeEnable
To determine whether use test mode when initialize TLS context.
-
tlsClientAuthServer
public static boolean tlsClientAuthServer
To determine whether verify the server endpoint's certificate strictly.
-
tlsServerAuthClient
public static boolean tlsServerAuthClient
To determine whether verify the client endpoint's certificate strictly.
-
tlsClientKeyPath
public static java.lang.String tlsClientKeyPath
The store path of client-side private key.
-
tlsClientKeyPassword
public static java.lang.String tlsClientKeyPassword
The password of the client-side private key.
-
tlsClientCertPath
public static java.lang.String tlsClientCertPath
The store path of client-side X.509 certificate chain in PEM format.
-
tlsClientTrustCertPath
public static java.lang.String tlsClientTrustCertPath
The store path of trusted certificates for verifying the server endpoint's certificate.
-
tlsServerKeyPath
public static java.lang.String tlsServerKeyPath
The store path of server-side private key.
-
tlsServerKeyPassword
public static java.lang.String tlsServerKeyPassword
The password of the server-side private key.
-
tlsServerCertPath
public static java.lang.String tlsServerCertPath
The store path of server-side X.509 certificate chain in PEM format.
-
tlsServerTrustCertPath
public static java.lang.String tlsServerTrustCertPath
The store path of trusted certificates for verifying the client endpoint's certificate.
-
tlsFileCheckInterval
public static int tlsFileCheckInterval
tls file check interval , default is 10 min.
-
-