Giter Club home page Giter Club logo

Comments (2)

mathiasertl avatar mathiasertl commented on June 26, 2024

Hi @doubledipped !

but I would really appreciate an example of how to define the subject in an an external yaml file.

I could not agree more that this should be part of the documentation, and it's shamefully not. To get you started, here is an example from my config... with a specific override in a dedicated profile:

CA_DEFAULT_SUBJECT:
        - ["O", "DefaultOrg"]
        - ["OU", "Default OrgUnit"]
        - ["OU", "Default OrgUnit 2"]

CA_PROFILES:
  other_profile:
    # other config
    subject:
        - ["O", "MyOrg"]
        - ["OU", "My OrgUnit"]
        - ["OU", "My OrgUnit 2"]

I'll work on properly documenting this properly next, including all more exotic fields.

In the meantime, help your self to this dict for a complete list: https://github.com/mathiasertl/django-ca/blob/1.22.0/ca/django_ca/utils.py#L91 (note: location of this variable will change in a future release).

from django-ca.

doubledipped avatar doubledipped commented on June 26, 2024

That's perfect, thank you Mathias. I was struggling to get the yaml format correct, but by following the examples you have kindly provided, it is all working now. Thank you very much for taking the time to respond

from django-ca.

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.