GithubHelp home page GithubHelp logo

Comments (2)

arthurdm avatar arthurdm commented on August 23, 2024

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.

jkjome avatar jkjome commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.