In Datagrip, I can connect to Cassandra with sslenabled=true and set the VM options with
sslenabled=true
-Djavax.net.ssl.trustStore= -Dj