Git Product home page Git Product logo

Comments (5)

erikgb avatar erikgb commented on June 16, 2024

@k8ieone I am not sure if I understand your use case. Are you looking for an operator to convert PEM to JKS in general? I am not aware of any - if that's what you are looking for.

from trust-manager.

k8ieone avatar k8ieone commented on June 16, 2024

@erikgb Yes, trust-manager can take a bunch of certificates in .pem format (text starting with -----BEGIN CERTIFICATE-----) and create a jks trust store.

In my case, I don't want to add certificates into the jks, but private keys - -----BEGIN PRIVATE KEY-----.

from trust-manager.

erikgb avatar erikgb commented on June 16, 2024

The goal of trust-manager is specifically the distribution of trust anchors, and not a generic format converter.

Some suggestions for you use case:

  • migrate the application to support PEM format (JKS is somehow deprecated)
  • add an init-container to the application pod to convert from PEM to JKS using the standard JDK keytool CLI.

I am going to close this issue as not relevant for trust-manager.

/close

from trust-manager.

jetstack-bot avatar jetstack-bot commented on June 16, 2024

@erikgb: Closing this issue.

In response to this:

The goal of trust-manager is specifically the distribution of trust anchors, and not a generic format converter.

Some suggestions for you use case:

  • migrate the application to support PEM format (JKS is somehow deprecated)
  • add an init-container to the application pod to convert from PEM to JKS using the standard JDK keytool CLI.

I am going to close this issue as not relevant for trust-manager.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from trust-manager.

k8ieone avatar k8ieone commented on June 16, 2024

Alright, thanks for the suggestion.

Just for the record, if anyone happens to find this issue - migrating the app is not a possibility at this time.

Using an init container with an emptydir volume sounds like a good approach, which we'll likely use.

from trust-manager.

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.