ssl=sslMode attribute ssl=sslMode database connection URL attribute
Function

Specifies the SSL mode of the client. The sslMode can be basic, peerAuthentication, or off (the default). See "Network encryption and authentication with SSL/TLS" in the for details.

Combining with other attributes

May be combined with all other attributes.

Example

Connecting to mydb with basic SSL encryption:

jdbc:derby://localhost/mydb;ssl=basic