Skip to content

[Bug] False Negative detection of ADCS Web Enrolment when HTTP 200 is returned instead of 401Β #367

Description

@SoftAndoWetto

πŸ”’ Certipy Version

5.1.0

πŸ–₯️ Operating System

Kali Linux 2026.1

πŸ“₯ Command Used

certipy req \
    -u '<USERNAME>@<DOMAIN>' -p '<PASSWORD>' \
    -dc-ip '<DC_IP>' -target '<CA_HOSTNAME>' \
    -ca '<CA_NAME>' -template '<TEMPLATE_NAME>' \
    -upn '<TARGET_UPN>' -sid '<TARGET_SID>'

🧯 Error Message / Unexpected Output

Web Enrollment
 HTTP
  Enabled     : False

πŸ” Relevant certipy find Output (abbreviated and redacted)


βœ… Expected Behavior

In the environment I ran the command, accessing /certsrv/ via a standard HTTP GET request returns HTTP 200 instead of the expected 401 Unauthorised even though web enrolment is enabled, Authentication is required, the endpoint is functional and usable.
/certsrv/ returns 200 both in the browser and terminal however http://. returns 401

πŸ“Ž Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions