Note
For V3.2.4, this parameter is available starting with V3.2.4.
Description
rpc_server_authentication_method specifies the security authentication method for the RPC server.
For the sys tenant, you only need to set the authentication method on the client and server.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | ALL |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
On the client, set the
rpc_client_authentication_methodparameter. For more information, see rpc_client_authentication_method.The server supports multiple authentication methods. When multiple authentication methods are set, they are separated by commas. This parameter is not case-sensitive.
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE, SSL_NO_ENCRYPT';If all parameters are set correctly, the latest configuration is used. Otherwise, the original authentication method is retained, and the current configuration does not take effect. For example, the original authentication method is
NONE. You set therpc_server_authentication_methodparameter toalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY';(butANYis not in the value range). In this case, the current configuration does not take effect, and the server authentication method remainsNONE.The allowed client types vary based on the server configuration value:
Server configuration value Allowed client types NONE - Old clients that have not been upgraded (including unauthenticated clients)
- New clients with the
NONEauthentication method
SSL_NO_ENCRYPT New clients with the SSL_NO_ENCRYPTauthentication methodALL The sum of the above two cases
Examples
Set the RPC server authentication method to ALL.
obclient> ALTER SYSTEM SET rpc_server_authentication_method = 'ALL';