Coder Social home page Coder Social logo

Comments (4)

tony-kerz avatar tony-kerz commented on July 17, 2024 1

that could be simpler than what i'm doing @akkie, i'll check it out when i get the chance.

the solution that i found for this is to set the JDBC_PARAMS env-var as follows:

    - name: JDBC_PARAMS
      # https://github.com/pgjdbc/pgjdbc/issues/1307
      #
      value: ssl=true,sslfactory=org.postgresql.ssl.DefaultJavaSSLFactory

looks like an issue in the postgres jdbc driver (see the above link)...

so i'll close this issue, thanks for the ideas @akkie and @unguiculus !

from helm-charts.

unguiculus avatar unguiculus commented on July 17, 2024

I never used _JAVA_OPTIONS. Could you try and see if this works:

keycloak:
  extraArgs: "-Djavax.net.ssl.trustStore=/tmp/cacerts.jks"

from helm-charts.

akkie avatar akkie commented on July 17, 2024

I'm also interested in a solution for this issue. @tony-kerz are there any news?

from helm-charts.

akkie avatar akkie commented on July 17, 2024

@tony-kerz if you add the cert to the default keystore, you don't need to specify a custom keystore.

Something like this:

FROM jboss/keycloak:6.0.1

USER root

COPY setu-ca.pem /etc/pki/CA/certs/setu-ca.pem
RUN openssl x509 -outform der -in /etc/pki/CA/certs/setu-ca.pem -out /etc/pki/ca-trust/source/anchors/setu-ca.crt
RUN update-ca-trust

USER 1000

from helm-charts.

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.