As the message pointed out, it's not supported to connect to the SAP HANA use encrypt connection in your scenario. By default, the Encrypt connections option is checked. Once the connection doesn't support encrypt connection, it will prompt you to use unencrypted connections.
Thanks @v-qiuyu-msft for the information.
I want to know how can i connect SAP HANA with encryption connection. Is there any settings on HANA side which can be changed to get this information.
Also i am having same issue with SQL server.
My Q is how to get encrypted connection from SAP HANA and SQL server.