Skip to content

Instantly share code, notes, and snippets.

@gabrieljones
Created January 23, 2023 18:56
Show Gist options
  • Save gabrieljones/10f362b7d787a0b495478cf27424de50 to your computer and use it in GitHub Desktop.
Save gabrieljones/10f362b7d787a0b495478cf27424de50 to your computer and use it in GitHub Desktop.
list the certs of cacerts in a distroless java based container image with the keytool inside the image
docker run --rm --entrypoint="/usr/lib/jvm/java-17-openjdk-amd64/bin/keytool" distroless/java17:nonroot -list -cacerts -storepass changeit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment