Comments (2)
hey @jkjome - in the Docker image the output_dir is different than the config_dir (see this line) so it seems you are copying your key into the config dir, but your XML snippet points to the output dir..which causes OL to create a key for you.
I believe if you changed your XML snippet to be:
<server>
<keyStore id="defaultKeyStore" location="${server.config.dir}/resources/security/key.jks" password="[my password]" type="JKS"/>
</server>
then it should work (noticed I changed output
to config
)
from ci.docker.
Thanks @arthurdm. It works now. Now I realize that my local desktop installation of open-liberty must set "WLP_OUTPUT_DIR" to the same as the config dir (or leave it unspecified). That's why it works there. I guess I'll start referencing ${server.config.dir} for both docker and non-docker config files to maintain consistency.
https://openliberty.io/docs/ref/config/serverConfiguration.html#server-env
https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_admin_customvars.html
from ci.docker.
Related Issues (20)
- Would you please provide sample docker file for "full" (WARNING: This is not an optimal build configuration) HOT 3
- icr-images.md: elaborate on refresh a tiny bit? HOT 2
- Restore is not working if using persistent storage with mountPath /output HOT 1
- OpenLiberty with readonly container requires /tmp to be writeable HOT 1
- Proxy configuration for features.sh HOT 2
- Enable --verbose on featureUtility when VERBOSE arg is set to true
- Document the approach to copy ear/war contents instead of using autoExpand HOT 1
- Question: Change server name from defaultServer HOT 3
- Include a features.sh script in the full/beta images
- Support importing CA certificates into custom truststore HOT 1
- Full profile with Java 11 on PowerPC fails to build with exit code 22 HOT 1
- Java 21 Support HOT 5
- Use kernel as the base for full image (in Java 21+)
- Evaluate the default set of permissions
- Output errors by default HOT 2
- Improve current documentation around keys and certificates HOT 1
- Run basic tests as part of image build pipeline HOT 2
- RUN configure.sh fails HOT 1
- UBI system CA certificates not loaded
- Support importing additional certificates into the truststore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ci.docker.