Comments (6)
Yes currently the only trusted information from the CSR is the public key and common name. If common name is FQDN it is assumed to be server certificate so server, client, and IKE intermediate EKU-s are added, otherwise only client EKU is added.
This is pretty much input sanitization technique here, because it's assumed that you can get all sorts of garbage submitted over the network which might contain malicious bits. I've seen many CA-s doing the same.
Can you elaborate what attributes you're talking about, what is their role in the PKI ecosystem and what usecase you're trying to resolve with Certidude.
from certidude.
So I thought about it being a problem of sanitisation, but you could allow the admin to create and sign such requests.
For smartcards, the DC must have it's GUID stored in the certificate, as a special SAN; the client certificate must contain the user UPN, again using a special SAN. Also the client cert has to have extensions like "scardlogin".
from certidude.
Can you provide a copy of such certificate?
from certidude.
I don't have one that is sanitised for publication, but here are microsoft's words:
DC: https://support.microsoft.com/en-us/help/291010/requirements-for-domain-controller-certificates-from-a-third-party-ca (there's an example cert here)
Supposedly the requirements aren't so strict for Vista+ but I've never gotten certificates to be recognised in Windows for smart card logins without having all the attributes in these docs.
from certidude.
So for testing basically I could use Yubikey, generate CSR on it, submit to Certidude, add some machinery to add relevant extensions, sign CSR in Certidude, write certificate back to Yubikey, configure Windows box for SmartCard login and attempt to log in with Yubikey to the Windows box?
from certidude.
I can do testing if it helps. Or you can just run the resulting certificate through openssl and make sure it has the right stuff in it. I assume this could just be another certificate profile? One for domain controllers (kerberos and ldaps) and one for smart card users?
from certidude.
Related Issues (20)
- Bootstrapping API call HOT 1
- Relevant OCSP response if user account disabled in AD HOT 1
- kinit won't run during boot HOT 1
- Support other systems than Ubuntu HOT 5
- Provision fails with jinja2.exceptions.UndefinedError: 'session' is undefined
- Hide log if log API call is disabled on server
- Refactor events to use authenticated nchan channels
- User interface chokes with 200+ certificates
- Customizable OU for Kerberized auth
- Better cross-platform common name handling for Kerberized auth
- Preemptive Kerberos auth for Windows
- Sign OCSP responses and CRL-s with keypair other than CA-s
- Show relevant error message if CSR is malformed HOT 2
- Add ACME support
- Error 404 immediately after install on clean VM HOT 4
- Is this still alive? HOT 2
- Gnome is changing, instructions shall be changed
- Convenience script
- Build fails HOT 1
- Install fails before creating the root CA HOT 1
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 certidude.