Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

KMS Unable to decrypt

avatar

Configured Ranger and KMS on a Kerberized cluster. Able to create zones and keys.However unable to cat any file put on the directory.

Have given the user access to directory in ranger and ability to decrypt eeks. Any ideas?

hdfs dfs -cat /zone_encr3/abc1.txt cat: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, status: 500, message: Internal Server Error

Nothing much in kms.log either.

1 ACCEPTED SOLUTION

avatar

@Ash Pad

You need to provide additional privileges to the user via keyadmin. The user will need "Get Keys", "Get Metadata", and "Decrypt EEK" privileges on the key to read files in the encryption zone.

View solution in original post

2 REPLIES 2

avatar

any errors being shown catalina.out? are there entries in kms-audit.log?

as what user are you trying to copy the files?

avatar

@Ash Pad

You need to provide additional privileges to the user via keyadmin. The user will need "Get Keys", "Get Metadata", and "Decrypt EEK" privileges on the key to read files in the encryption zone.