Skip to content

How to properly configure LDAP #1161

Answered by fallen-up
vsfomin asked this question in Q&A
Discussion options

You must be logged in to vote

@vsfomin
try this way:
keytool -import -trustcacerts -alias mycompany-root-ca -file /certs/ca.crt -keystore /usr/lib/jvm/zulu21-ca/lib/security/cacerts -storepass changeit -noprompt
(change only path to your ca.crt & alias. save "changeit" - it's important)

there is no need to install the ca-certificates package & run update-ca-certificates. java doesn't use it.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@vsfomin
Comment options

@Haarolean
Comment options

@vsfomin
Comment options

@fallen-up
Comment options

Answer selected by vsfomin
@vsfomin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants