Configuring the Client for Client-Side Encryption and LDAP
To use client-side encryption or LDAP authentication, ensure that your interface meets the following requirements.
- SQLDBC
-
For SQLDBC-based clients, you must use CommonCryptoLib to use client-side encryption.
Check the /client folder of the installation package to see if COMMONCRYPTOLIB.TGZ is present. If not, you can download CommonCryptoLib separately. For instructions on how to download CommonCryptoLib, see Download and Install SAP Common Crypto Library in the SAP HANA Client Installation and Update Guide.
- JDBC
-
- deferredPrepare Connection Property
-
The deferredPrepare connection property must be set to DISABLED (the default) to use client-side encryption.
- JDK Version
-
If you are using JDK 7, then use update 134 or later. Using JDK 7 versions with an earlier update number results in a key generation error.
- JDK Policy Files
-
Update the JDK policy files to support unlimited strength encryption. Failure to update the policy files results in a decryption error.
Update the policy files as follows:
-
For JDK 6, download the files here:http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

-
For JDK 7, download the files here: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

-
For JDK 8, update 150 and earlier, download the files here: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

-
For JDK 8, update 151 and later, and JDK 9, edit the file conf/security/java.security and uncomment the line crypto.policy=unlimited.
-