rpc_server_authentication_method specifies the security authentication method for the RPC server. You can run commands in the sys tenant to specify an authentication method for each of the client and server.
Description
| Attribute | Description |
|---|---|
| Type | STRING |
| Default value | ALL |
| Value range |
|
| Effective upon restart of OBServer node | No |
Example
ALTER SYSTEM SET rpc_server_authentication_method = 'ALL';
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE';
Others:
You must configure the
rpc_client_authentication_methodparameter for the client. For more information about the description and setting of this parameter, see rpc_client_authentication_method.You can configure multiple authentication methods for the server. Separate the authentication methods with commas (,). The value of this parameter is case insensitive.
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE, SSL_NO_ENCRYPT';If the value of the parameter is correctly specified, the specified value is used. Otherwise, the original authentication method is used and the specified value does not take effect. Assume that the original value is
NONE. If you run the following commandalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY'(the valueANYis beyond the value range), the setting does not take effect. Instead, the original valueNONEis used.The type of client allowed for connection varies according to the authentication method configured on the server.
Authentication method on server Type of client allowed for connection NONE- Old clients that are not upgraded (including unauthenticated clients)
- New clients whose authentication method is set to
NONE
SSL_NO_ENCRYPT New clients whose authentication method is set to SSL_NO_ENCRYPTALL All clients that are allowed in the preceding two cases