CryptoProtocolVersion
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Atlassian Jira 6.0
- Documentation
Purpose
Specifies a comma-separated list of the cryptographic protocols to use when accessing an HTTPS endpoint. When multiple protocols are specified, the driver uses the highest version supported by the server.
Valid Values
cryptographic_protocol
[[,
cryptographic_protocol
]...]
where:
- cryptographic_protocol
- is one of the following cryptographic protocols:
TLSv1.2|TLSv1.1|TLSv1|SSLv3|SSLv2
CAUTION: To
avoid vulnerabilities associated with SSLv3 and SSLv2, good security practices
recommend using TLSv1 or higher.
Example
If your server supports TLSv1.1 and TLSv1.2, you can
specify acceptable cryptographic protocols with the following key-value
pair:
CryptoProtocolVersion=TLSv1.1,TLSv1.2Notes
- When multiple protocols are specified, the driver uses the highest version supported by the server. If none of the specified protocols are supported by the server, the connection fails and the driver returns an error.
- When no value has been specified for CryptoProtocolVersion, the cryptographic protocol used depends on the highest protocol version supported by the server and the highest protocol version supported by the JDK. The driver uses the lower version of these two protocols to establish the SSL connection. Refer to the Jira documentation or contact your system administrator for information on which cryptographic protocols are supported.
Data Source Method
setCryptoProtocolVersion
Default
No default value
Data Type
String