i tried lots of time to add service mysql 8 in server. but showing error like that

Service installation results:

  • Could not connect to the specified MySQL Server: Retrieval of the RSA public key is not enabled for insecure connections.

mysql version 8.0.17 , any one can give the solution

Answered question