Skip to content

Consider a build argument or env to skip the generation of default keystore and truststore config #398

Open

Description

@leochr

Liberty container image includes scripts (configure.sh, startup) that generate the default keystore. It's added to /config/configDropins/defaults. Provide a build arg/env to skip the generation of the default keystore

Relevant issue: WASdev/ci.docker#493 (comment)

Also, consider providing an option to skip the generation of the default truststore. The default truststore.xml is written to configDropons/overrides, not sure what the historical reason is. This would override the user-specified truststore config in server.xml as well.

Activity

  1. changed the title [-]Consider a build argument or env to skip the generation of default keystore[/-] [+]Consider a build argument or env to skip the generation of default keystore and truststore[/+] on May 3, 2023
  2. changed the title [-]Consider a build argument or env to skip the generation of default keystore and truststore[/-] [+]Consider a build argument or env to skip the generation of default keystore and truststore config[/+] on May 3, 2023
  3. pugmas commented on May 4, 2023

    @pugmas

    Hi @leochr ,
    maybe I'm wrong, but isn't there already an environment variable for this?

    ENV KEYSTORE_REQUIRED "false"

    https://hub.docker.com/_/open-liberty

  4. leochr commented on May 9, 2023

    @leochr
    MemberAuthor

    @pugmas That env variable must have existed in previous tags (i.e. webProfile), but the current set of images with kernel-slim and full tags don't include/support it.

  5. self-assigned this
    on Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions