chainguard-dev / chainguard-dev/incert
Feature Request: Handle Java (and possibly other platforms) which has its own cert store
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 174
- Forks
- 24
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 2
Description
To add certificates to a Java image you need to use "keytool" e.g:
keytool -import -alias $filename -file $filename -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt
There are probably other platforms with similar bespoke solutions. In these cases we could add a flag (e.g. --add-java-cert) or try to detect if a Java image was being used.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing certificate-insertion flow and CLI options, then compare them with the Java keytool command and /etc/ssl/certs/java/cacerts path described in the issue. Done should mean a defined and tested behavior for Java certificate stores; support for other platforms should be explicitly scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, java
- Domain
- devops, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100