JDBC Connection Pools with SSL Connection

I’ve never used SSL connection before. Is this the way we are supposed to add them to Additional Properties. If not, please advice. I get this message when I tried to Ping MySQL Server.

Connection could not be allocated because: Could not create connection to database server.

I’m using Paraya6 with JDK17 and MySQL 8