Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relevant OCSP response if user account disabled in AD #45

Open
laurivosandi opened this issue Mar 1, 2018 · 1 comment
Open

Relevant OCSP response if user account disabled in AD #45

laurivosandi opened this issue Mar 1, 2018 · 1 comment

Comments

@laurivosandi
Copy link
Owner

laurivosandi commented Mar 1, 2018

Currently OCSP responder returns ok regardless of user account status in AD. Certidude should have config to handle this

  • By default return not ok response on OCSP if certificate was issued to a user (CN=user@machine-id) and user is disabled (UserAccountControl flags)
  • Optionally revoke certificate as soon as user is disabled
  • Do not check user status
@plaes
Copy link
Contributor

plaes commented Mar 1, 2018

Also two extra scenarios where UserAccountControl attribute is not enough:

  • AD Account expiration date should be read separately from accountExpires attribute
  • AD Account lockout info is stored in lockoutTime

And then there's also pwdLastSet mess because password expiration is read from domain root object's pwdMaxAge attribute, but one should take account the neverExpires bit in UserAccountControl. Though I guess Certidude should not care about the password...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants