TLS error when the certificate is expired?
I'm reasonably certain that it has been possible to use 'sslcert' measurements even when the certificate is expired. Today, I try to use 'sslcert' with trigger-happy.eu and it fails: "alert": { "description": 40, "level": 2 }, And no certificate in the JSON output (this is measurement #12166428) 40 is the very general "handshake failure" of TLS. <https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-6> Was there a change in Atlas recently? The TLS server does reply: % gnutls-cli trigger-happy.eu Processed 167 CA certificate(s). Resolving 'trigger-happy.eu:443'... Connecting to '51.254.210.94:443'... - Certificate type: X.509 - Got a certificate list of 2 certificates. - Certificate[0] info: - subject `CN=trigger-happy.eu', issuer `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', serial 0x0359a66c5eb5da799afe079f87416f8d9641, RSA key 2048 bits, signed using RSA-SHA256, activated `2018-01-13 10:46:26 UTC', expires `2018-04-13 10:46:26 UTC', key-ID `sha256:8216c7a7f221f3efcf7e7c3eb1760275d6ebf38d153b74992ee7864147b54435' Public Key ID: sha1:668c4506a393d9bb633590b68c05d878734d7ffe sha256:8216c7a7f221f3efcf7e7c3eb1760275d6ebf38d153b74992ee7864147b54435 Public key's random art: +--[ RSA 2048]----+ | +. o++ | | o +*.=.. | | .=o* . . . | | * B o | | . = S . | | = . . | | + E | | . . | | | +-----------------+ - Certificate[1] info: - subject `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', issuer `CN=DST Root CA X3,O=Digital Signature Trust Co.', serial 0x0a0141420000015385736a0b85eca708, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-03-17 16:40:46 UTC', expires `2021-03-17 16:40:46 UTC', key-ID `sha256:60b87575447dcba2a36b7d11ac09fb24a9db406fee12d2cc90180517616e8a18' - Status: The certificate is NOT trusted. The certificate chain uses expired certificate. *** PKI verification of server certificate failed... *** Fatal error: Error in the certificate. *** handshake has failed: Error in the certificate.
On 2018/04/15 15:33 , Stephane Bortzmeyer wrote:
I'm reasonably certain that it has been possible to use 'sslcert' measurements even when the certificate is expired.
Today, I try to use 'sslcert' with trigger-happy.eu and it fails:
"alert": { "description": 40, "level": 2 },
And no certificate in the JSON output (this is measurement #12166428)
40 is the very general "handshake failure" of TLS. <https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-6>
Was there a change in Atlas recently?
Hi Stephane, What is typically the case is that the server side has all kinds of restrictions on the ciphers that it is willing to accept. I recently made some changes to support a server where the sslcert measurement would also fail. With these changes 'trigger-happy.eu' is happy as well. At moment I have no clear idea when the next firmware will be released. It may take a few months. Philip
On Mon, Apr 16, 2018 at 03:02:50PM +0200, Philip Homburg <philip.homburg@ripe.net> wrote a message of 33 lines which said:
What is typically the case is that the server side has all kinds of restrictions on the ciphers that it is willing to accept.
I recently made some changes to support a server where the sslcert measurement would also fail.
The strange thing is that sometimes, it depends on the probe. For instance, in #12283468, most probes succeeded but some got "{'level': 2, 'description': 40}". It is not a firewall issue since otherwise we would get a different message. It does not come from the probe type either, since I asked only system-v3 probes.
On 2018/04/23 12:20 , Stephane Bortzmeyer wrote:
The strange thing is that sometimes, it depends on the probe. For instance, in #12283468, most probes succeeded but some got "{'level': 2, 'description': 40}". It is not a firewall issue since otherwise we would get a different message. It does not come from the probe type either, since I asked only system-v3 probes.
Hi Stephane, I notice that those probes are still running an older firmware (4900 instead of 4910). I'll take a look why that is and if I can get them to upgrade. Philip
participants (2)
-
Philip Homburg
-
Stephane Bortzmeyer