Comments (2)
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.
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)
- "acme" extra depends on josepy>1.5.0 but it's not available on PyPI HOT 1
- TypeError: add_extension() got an unexpected keyword argument 'extension' HOT 4
- TemplateDoesNotExist error HOT 7
- RFC - Supporting OpenSSH certificates HOT 2
- Invalid ASN.1 exception when adding otherName as SAN HOT 2
- Improve Django Admin Subject Input Form
- celery: Object of type timedelta is not JSON serializable HOT 3
- Migration Issue HOT 7
- http/500 when requesting certificate HOT 6
- failed to parse fullchain into cert and chain: less than 2 certificates in chain HOT 4
- ecc_curve in 'init_ca' command HOT 5
- acme clients not working, bad nonce HOT 7
- multiple SAN attributes not working HOT 3
- CA_PROFILES expiration time is ignored HOT 2
- CRL Issuing Distribution Point (IDP) should be configurable in CertificateRevocationListView HOT 7
- TypeError: cannot pickle 'builtins.ObjectIdentifier' object HOT 3
- Config is not read HOT 2
- Generate CT Certificate Transparency logs HOT 2
- Profiles - default, custom and command line HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-ca.