Hi , we are trying to load root certificate for L...
# troubleshoot
f
Hi , we are trying to load root certificate for LDAP in datahub frontend , but didn't worked . Is there anyway where we can create truststore from the ldap certificates and configure datahub-frontend to use that truststore ?
@rich-machine-24265
r
Hi Shekhar! Currently no, because frontend startup script overrides custom JVM properties. I've created PR that Roko mentioned above. When it's merged you can use environment variables
SSL_TRUSTSTORE_FILE
,
SSL_TRUSTSTORE_TYPE
and
SSL_TRUSTSTORE_PASSWORD
to configure truststore
f
Thanks @blue-boots-43993 @rich-machine-24265 for the information
b
@big-carpet-38439 could you please take a look at this PR?
f
Hi @blue-boots-43993 , in PR , i observed that you are using truststore.jks file . How i can convert/use my .pem root certificate in this case ?
b
hey @fresh-cricket-75926 , this is not my PR. @rich-machine-24265 could help, it is his
r
Hi Shekhar! I'm not sure if this is proper way to use pem certificate, but here is how to convert pem to jks https://www.baeldung.com/convert-pem-to-jks
Hi @fresh-cricket-75926 ! This PR has been merged