Created
December 3, 2017 00:11
-
-
Save guaxinim/83509bbd298355c0cbfed08cc0c7ce4f to your computer and use it in GitHub Desktop.
Create a java app in a container that trusts in a specific CA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Create a Dockerfile build with FROM pointing at one of app base images (call it `example-com-eap7`) | |
2) ADD or COPY example.com's CA (for EAP, this looks something like `ADD configs/certs/cacerts_JDK8 /etc/pki/ca-trust/extracted/java/cacerts`) | |
3) Create new apps based on `example-com-eap7` (`oc new-app example-com-eap7~...`) | |
The jist is, if you can add the pertinent files to `/etc/pki/ca-trust/` then the apps & pods should be good. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment