The following describes how to set up database protection using the HMAC algorithm for integrity protection.
Generate a private key and a certificate.
Put the private key and the certificate in a PKCS#12 file. OpenSSL will ask you for a password that will be used to encrypt the keystore. Make a note of this password, as you will need it later.
Print the base64 encoded PKCS#12 file.
Put the following configuration in
databaseprotection.properties.conf/databaseprotection.properties