Skip to content

Commit

Permalink
[CYB-216] use absolute path for keytab file required in CSA 1.14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynduby committed Jan 15, 2025
1 parent ce30cc5 commit ae8bfd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flink-cyber/cyber-jobs/src/main/resources/scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ function get_kerberos_config() {
if [ -f "${kerberos_properties}" ]; then
read_properties_into_variables "${kerberos_properties}"
read_properties_into_variables "${internal_ssl_properties}"
security_options+=("-yD" "security.kerberos.login.keytab=${kerberos_keytab}")
kerberos_keytab_abs=$(readlink -f "${kerberos_keytab}")
security_options+=("-yD" "security.kerberos.login.keytab=${kerberos_keytab_abs}")
security_options+=("-yD" "security.kerberos.login.principal=${kerberos_principal}")
security_options+=("-yD" "security.ssl.internal.enabled=true")
security_options+=("-yD" "security.ssl.internal.keystore=${flink_internal_keystore}")
Expand Down

0 comments on commit ae8bfd3

Please sign in to comment.