Add internal cacert to /etc/ssl/certs/java/cacerts
See original GitHub issueEnvironment:
- Jib version: 2.6.0
- Build tool: Gradle 6.7.1
- OS: MacOS
Description of the issue:
I’d like a way to add my internal cacert.pem
file to the /etc/ssl/certs/java/cacerts
file that comes with the base image.
Expected behavior:
I specify some directory containing cacert.pem
files, they all get added to the existing /etc/ssl/certs/java/cacerts
in the resulting image.
This is distinct from https://github.com/GoogleContainerTools/jib/issues/2240 which merely wants to be able to replace the existing cacerts
file. I want to be able append to it.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:16 (5 by maintainers)
Top Results From Across the Web
How to properly import a selfsigned certificate into Java ...
Copy the file JAVA_HOME\lib\security\cacerts to another folder. In Portecle click File > Open Keystore File; Select the cacerts file; Enter this password: ...
Read more >How to add CA cert to Jira's trust store? - Atlassian Community
Go back to the main screen and select the Open an existing keystore from disk option, select cacerts (for example $JAVA_HOME/lib/security/ ...
Read more >Working with Certificates and SSL (Sun Java System ...
Type yes, then press Enter. Then keytool displays something like this: Certificate was added to keystore [Saving cacerts.jks] ...
Read more >How to add a certificate authority (CA) certificate to the ... - Plone
The 'cacerts' java keystore has a passphrase of 'changeit'. Convert. The public key certificates need to be in DER format (not PEM). Use...
Read more >How to install an Intermediate CA cert in Apache?
Copy and paste the contents of the Intermediate CA into your CA chain file (append to chain.crt ). Restart Apache httpd: Raw. #...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m happy to do this. Is there any kind of “official” list of CA certs published to maven central that I can reference in my build?
I found https://curl.haxx.se/docs/caextract.html
It would be so much nicer if it was published to maven central though. Regarding corporate nexus proxies and such.
Thank you sharing your approach! Closing this issue given the availability of alternative solutions and the SO post that @chanseokoh linked.