LDAPCryptoProtocolVersion
- Last Updated: October 15, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- Documentation
Purpose
Specifies a cryptographic protocol or comma-separated list of cryptographic protocols
that can be used when TLS/SSL encryption is enabled for connections to the LDAP
server (LDAPEncryptionMethod=SSL).
Valid values
cryptographic_protocol
[[,
cryptographic_protocol
]...]
where:
- cryptographic_protocol
- is one of the following cryptographic protocols:
TLSv1.3|TLSv1.2
Example
If your server supports TLSv1.2 and TLSv1.3, you can
specify acceptable cryptographic protocols with the following key-value
pair:
LDAPCryptoProtocolVersion=TLSv1.2,TLSv1.3Notes
- 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.
- The value specified for this property overrides the value specified for the CryptoProtocolVersion property. If a value is not specified for this property, the value specified for the CryptoProtocolVersion property is used. If neither LDAPCryptoProtocolVersion nor CryptoProtocolVersion is specified, the cryptographic protocol used depends on the highest protocol version supported by the server and the highest protocol version supported by the JDK. Refer to the database management system documentation for information on which cryptographic protocols are supported.
Data source method
setLDAPCryptoProtocolVersion
Default
No default value
Data Type
String