PRNGSeedSource
- Last Updated: October 26, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
Attribute
PRNGSeedSource (PSS)
Purpose
Specifies the source of the seed the driver uses for TLS/SSL key
generation. Seeds are a pseudorandom or random value used to set the initial
state of the random number generator used to generate TLS/SSL keys. Using
seeds with a higher level of entropy, or randomness, provides a more secure
transmission of data encrypted using TLS/SSL.
Valid Values
0 | 1
Behavior
If set to 0 (File), the driver uses entropy-source file or device specified in the PRNGSeedFile connection option as the seed used for TLS/SSL key generation.
If set to 1 (Poll Only) , the driver uses the RAND_poll function in TLS/SSL to create the seed used for TLS/SSL key generation.
Notes
- For processes that employ multiple TLS/SSL-enabled drivers, the behavior of this option for all drivers is determined by the values specified for the driver that first connects to the process and loads the OpenSSL library. Since the OpenSSL library loads only once per process, the values specified for drivers that subsequently connect are ignored. To ensure that the correct security settings are used, we recommend configuring this option identically for all drivers used in a process.
- This option is ignored when TLS/SSL is disabled (EncryptionMethod=0)
Default
0 (File)