Skip to content

Misinterpretation of no cipher overlap with client #18

@Niklas974

Description

@Niklas974

I'm debugging a weird client that does not seem to like any ciphers.
This is correctly displayed by qsslcaudit (see below: "socket error: […]"). In this case, the server (qsslaudit / openssl) breaks the connection (See Packet 108 in wireshark screenshot)
grafik

This is all fine, but qsslcaudit interprets the failure as the client not accepting the certificate, even though the server failed before even sending the certificate.

preparing selected tests...
        skipping test: certificate trust test with user-supplied certificate
        skipping test: certificate trust test with self-signed certificate for user-supplied common name
        skipping test: certificate trust test with user-supplied common name signed by user-supplied certificate
        skipping test: certificate trust test with www.example.com common name signed by user-supplied certificate
        skipping test: certificate trust test with user-supplied common name signed by user-supplied CA certificate
        skipping test: certificate trust test with www.example.com common name signed by user-supplied CA certificate

SSL library used: OpenSSL 1.0.2u  20 Dec 2019
running test #3: certificate trust test with self-signed certificate for www.example.com
listening on 10.6.6.15:31103
connection from: 10.6.6.10:39978
socket error: Error during SSL handshake: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher (#13)
        The SSL/TLS handshake failed (client did not provide expected ciphers), so the connection was closed.
no unencrypted data received (Error during SSL handshake: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher)
disconnected
report:
client did not accept fake certificate
test finished
tests results summary table:
+----+------------------------------------+------------+-----------------------------+
| ## |             Test Name              |   Result   |           Comment           | 
+----+------------------------------------+------------+-----------------------------+
|  3 | self-signed certificate for invali |   PASSED   |                             | 
|    | d domain trust                     |            |                             | 
+----+------------------------------------+------------+-----------------------------+
most likely all connections were established by the same client
the first connection details:
source host: 10.6.6.10
dtls?: false
ssl errors: Error during SSL handshake: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
ssl conn established?: false
socket errors ids: 13 
received data, bytes: 103
transmitted data, bytes: 0
protocol: TLSv1.2
accepted ciphers: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:TLS_EMPTY_RENEGOTIATION_INFO_SCSV
heartbeat mode

qsslcaudit version: 0.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions