类 TlsSystemConfig
java.lang.Object
com.alibaba.nacos.common.tls.TlsSystemConfig
tls system config.
- 作者:
- wangwei
-
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic booleanTo determine whether verify the server endpoint's certificate strictly.static StringThe store path of client-side X.509 certificate chain in PEM format.static StringThe password of the client-side private key.static StringThe store path of client-side private key.static StringThe store path of trusted certificates for verifying the server endpoint's certificate.static booleanTo determine whether use SSL in client-side.static inttls file check interval , default is 10 min.static booleanTo determine whether verify the client endpoint's certificate strictly.static StringThe store path of server-side X.509 certificate chain in PEM format.static StringThe password of the server-side private key.static StringThe store path of server-side private key.static StringThe store path of trusted certificates for verifying the client endpoint's certificate.static booleanTo determine whether use test mode when initialize TLS context. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
TLS_TEST_MODE_ENABLE
- 另请参阅:
-
TLS_ENABLE
- 另请参阅:
-
CLIENT_AUTH
- 另请参阅:
-
CLIENT_KEYPATH
- 另请参阅:
-
CLIENT_KEYPASSWORD
- 另请参阅:
-
CLIENT_CERTPATH
- 另请参阅:
-
CLIENT_TRUST_CERT
- 另请参阅:
-
SERVER_AUTH
- 另请参阅:
-
SERVER_KEYPATH
- 另请参阅:
-
SERVER_KEYPASSWORD
- 另请参阅:
-
SERVER_CERTPATH
- 另请参阅:
-
SERVER_TRUST_CERT
- 另请参阅:
-
CHECK_INTERVAL
- 另请参阅:
-
tlsEnable
public static boolean tlsEnableTo determine whether use SSL in client-side. -
tlsTestModeEnable
public static boolean tlsTestModeEnableTo determine whether use test mode when initialize TLS context. -
tlsClientAuthServer
public static boolean tlsClientAuthServerTo determine whether verify the server endpoint's certificate strictly. -
tlsServerAuthClient
public static boolean tlsServerAuthClientTo determine whether verify the client endpoint's certificate strictly. -
tlsClientKeyPath
The store path of client-side private key. -
tlsClientKeyPassword
The password of the client-side private key. -
tlsClientCertPath
The store path of client-side X.509 certificate chain in PEM format. -
tlsClientTrustCertPath
The store path of trusted certificates for verifying the server endpoint's certificate. -
tlsServerKeyPath
The store path of server-side private key. -
tlsServerKeyPassword
The password of the server-side private key. -
tlsServerCertPath
The store path of server-side X.509 certificate chain in PEM format. -
tlsServerTrustCertPath
The store path of trusted certificates for verifying the client endpoint's certificate. -
tlsFileCheckInterval
public static int tlsFileCheckIntervaltls file check interval , default is 10 min.
-
-
构造器详细资料
-
TlsSystemConfig
public TlsSystemConfig()
-