# ssl=sslMode attribute

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.

## Combining with other attributes

May be combined with all other attributes.

## Example

    -- connect to mydb with basic SSL encryption
    jdbc:derby://localhost/mydb;ssl=basic

Parent topic: Setting attributes for the database connection URL