--- /dev/null
+PCAP from https://github.com/felin-arch/tls-client-auth
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ types:
+ - alert
+ - tls
+ - tls-log:
+ enabled: yes # Log TLS connections.
+ filename: tls.log # File to store TLS logs.
+ append: yes
+ extended: yes # Log extended information like fingerprint
+ - tls-store:
+ enabled: yes
+ certs-log-dir: certs # directory to store the certificates files
+
--- /dev/null
+requires:
+ min-version: 8
+
+args:
+ - -k none
+ - --runmode=single
+
+checks:
+ - shell:
+ args: find certs -type f -name '1523912382.235074-1.pem' | wc -l | xargs
+ expect: 1
+ - shell:
+ args: find certs -type f -name '1523912382.235074-1.meta' | wc -l | xargs
+ expect: 1
+ - shell:
+ args: find certs -type f -name 'client-1523912382.237160-2.pem' | wc -l | xargs
+ expect: 1
+ - shell:
+ args: find certs -type f -name 'client-1523912382.237160-2.meta' | wc -l | xargs
+ expect: 1
--- /dev/null
+alert tls any any -> any any (tls.cert_subject; content:"O=TLSClientAuthSampleServer"; tls.store; sid:1; rev:1;)
+alert tls any any -> any any (tls.cert_subject; content:"O=TLSClientAuthSampleClient"; tls.store; sid:2; rev:1;)