fix: Support symlinks in ca-certs folder (#32391)

Fixes: [30928](https://github.com/appsmithorg/appsmith/issues/30928)
This commit is contained in:
Goutham Pratapa 2024-04-04 14:48:39 +05:30 committed by GitHub
parent 738cd23e6f
commit 8534e1253b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,7 +319,7 @@ setup-custom-ca-certificates() (
-deststorepass changeit
# Add the custom CA certificates to the store.
find "$stacks_ca_certs_path" -maxdepth 1 -type f -name '*.crt' \
find -L "$stacks_ca_certs_path" -maxdepth 1 -type f -name '*.crt' \
-print \
-exec keytool -import -alias '{}' -noprompt -keystore "$store" -file '{}' -storepass changeit ';'