Skip to content

Problems behind corporative proxy #1831

Answered by nscuro
victorsanpe asked this question in Q&A
Discussion options

You must be logged in to vote

You're most likely running into a situation where your corporate proxy serves a TLS certificate that was signed by an internal CA.

Dependency-Track (or rather the Java Runtime it uses) has a set of public CAs that are trusted (referred to as "trust store" in Java world).

In order to resolve this issue, you must add the certificate of your proxy to the truststore. This can be done as follows:

# Get original trust store from API server container
container_id=$(docker run -d --rm dependencytrack/apiserver:4.5.0)
docker exec -i $container_id sh -c '/bin/base64 /opt/java/openjdk/lib/security/cacerts' | base64 -d > cacerts
docker stop $container_id

# Add internal CA certificate (acme.crt) to t…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@victorsanpe
Comment options

@nscuro
Comment options

@victorsanpe
Comment options

Answer selected by victorsanpe
Comment options

You must be logged in to vote
1 reply
@nscuro
Comment options

Comment options

You must be logged in to vote
3 replies
@nscuro
Comment options

@lsauer
Comment options

@nscuro
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