Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mbespartochnyy
Creator III
Creator III

What Is An Encryption Key?

When creating a data connection, I'm getting the infamous ENCRYPTION_KEY_MISSING error message that I've seen several posts (post 1, post 2, post 3, post 4) discussing. I am aware of this support article that talks about how to generate an encryption key. I'm aware of the Setting an encryption key documentation which talks about how to set an encryption key.

What I can't seem to find is an explanation of what is an encryption key in the context of data connections and how Qlik Sense is using it.

This Community post suggests that an "encryption key" is a private key of an SSL certificate. This support article, however, suggests that using rand -base64 256 OpenSSL command, which to my understanding is a simple random string generator, will generate an "encryption key".

With that as the context, what is an encryption key? Is it a private key of an SSL certificate? Is it a random string? Is it either? Is it something else? Does anyone know?

Labels (3)
1 Reply
mpc
Partner - Creator II
Partner - Creator II

Hi, 

An encryption key is a string:

  • Base64 encoded 32-byte array ofr ODBC connector
  • 32 to 4096 bytes string in UTF-8 format

The way you generate the string depends mainly of the security policies of your companies. 
Some will accept random string generation, such as the Support Article (openssl rand -base64 256), and some will require more secure way to create the string. Then the company will give you a private.key, basically a string. 

Since it's symmetric encryption, the key is send to the third party (Your database or Web provider).
Qlik Sense encrypts the data, send it to the third party, and it'll decrypts the data using the key. 

Regards