owasp-modsecurity / owasp-modsecurity/ModSecurity

SSL cert entry logs are not present in /var/logs/modsec_auddit.log file.

Open
#3,272 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.x
Dominant language
C++
Stars
9.8k
Forks
1.8k
Avg merge
2h 46m
Merged PRs (30d)
1

Description

Describe the bug

I am trying to enable allowing specific ssl certificate, I already set rules inside /etc/nginx/modsec/rules/ssl-client_certifcate.conf and also configure ngix for taking this certificate. I am able to do curl with client cert and key but its not logging inside modsec_audit.log.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the configured /etc/nginx/modsec/rules/ssl-client_certifcate.conf and Nginx certificate configuration with the curl client-certificate request. Inspect why that request is absent from modsec_audit.log, noting the differing /var/logs/modsec_auddit.log path in the report. Done means the SSL certificate request is present in the ModSecurity audit log.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, nginx
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.