The ssl=sslMode attribute specifies the SSL mode of the client.
The sslMode can be basic, peerAuthentication, or off (the default). See "Configuring SSL/TLS" in the Derby Security Guide for details.
May be combined with all other attributes.
-- connect to mydb with basic SSL encryption jdbc:derby://localhost/mydb;ssl=basic