You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/06/19 15:18:06 UTC

[GitHub] [shardingsphere] isHuangXin commented on issue #18425: ADD RESOURCE ds_1 failed

isHuangXin commented on issue #18425:
URL: https://github.com/apache/shardingsphere/issues/18425#issuecomment-1159753617

   > `allowPublicKeyRetrieval=True` may allow malicious agents to execute. By default, only `useSSL` is recommended to be enabled. Please refer to `DistSQLFeatureExample` for related test cases. Please pay attention to the `ADD_RESOURCE` behavior of `ResourceExecutor`.
   > 
   > If you must set ` allowPublicKeyRetrieval=True`, currently only supported in `shardingsphere-jdbc`, please refer to [application.ftl](https://github.com/apache/shardingsphere/blob/master/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/resources/properties/application.ftl)
   
   I have tried only use `useSSL=false` instead of `allowPublicKeyRetrieval=true&useSSL=false`, But which cause same error: 
   `ERROR 1104 (C1104): Can not process invalid resources, error messages are: [Invalid data source 'ds_1', error message is: Public Key Retrieval is not allowed].`
   
   Very confusing and bothering me ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org