-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SSL cert entry logs are not present in /var/logs/modsec_auddit.log file. #3272
Comments
hi @vivekch0976, could you share your And also please take a look about the new issue page: choose a version and please fill that carefully. Eg. we need to know the versions, etc.. |
Hello @airween here it is.
|
Thanks, are you sure the You can set up your debug log:
Restart your Nginx and check again. You have to see the rule's result in that log, eg
or
If the value is 0 then it means:
|
Hello, yes header is there in my own nginx conf file Only add the header if the client certificate is valid
but still i am not able to see anything logs, i am doing testing via curl command (sudo curl -v --insecure --key client.pem --cert client.crt --cacert /etc/nginx/ssl/ca.crt https://, also i am using self signed certificate. |
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.
The text was updated successfully, but these errors were encountered: