Giter Site home page Giter Site logo

Comments (5)

jithkaringada-corp avatar jithkaringada-corp commented on May 27, 2024 1

@JoshVanL I am setting up my minikube instance with istio, and it seems like I would have run into issues with workload certs. I hadn't got that far as I spent a lot of time trying to figure out the CN thing. It looks like if you don't provide vault the specific configuration on the role to not require common names, it will default to requiring it. It may be worth noting and documenting for vault issuers. Thank you for the information. This was super helpful. Understanding that the CN is not needed is more than sufficient. We use the common name to do whitelisting in the company i work for, so it was just an expectation that common name would be supported, I don't really have a reason for needing it.

from istio-csr.

jithkaringada-corp avatar jithkaringada-corp commented on May 27, 2024

When I update the vault policy to have require_cn: false, then it works but I would like to use CN. How do I get the cert-manager-istio-csr to supply a common name when requesting for a certificate?

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

Hi @jithkaringada-corp, common names are not used for istio certificates and instead make use of spiffe URIs, and DNS alt names for istiod's webhook. istio-csr similarly only uses DNS.

Whilst we could change istio-csr to use a common name for its serving certificate, it is superfluous and you would have the same issue for istio's own certs.

What is the reason for the common name requirement?

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

Thanks @jithkaringada-corp, glad the issue has been fixed. I will mark this issue as closed with a mind on improving documentation for what kinds of policy istio certificates require.

Feel free to re-open if something else comes up.

/close

from istio-csr.

jetstack-bot avatar jetstack-bot commented on May 27, 2024

@JoshVanL: Closing this issue.

In response to this:

Thanks @jithkaringada-corp, glad the issue has been fixed. I will mark this issue as closed with a mind on improving documentation for what kinds of policy istio certificates require.

Feel free to re-open if something else comes up.

/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 istio-csr.

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.