ably-ruby icon indicating copy to clipboard operation
ably-ruby copied to clipboard

Invalid server certificate error for `internet-up` endpoint

Open lawrence-forooghian opened this issue 2 months ago • 6 comments

@sacOO7 noticed that the acceptance tests are failing (e.g. here) with the following error:

     OpenSSL::SSL::SSLError:
       unable to verify the server certificate for "internet-up.ably-realtime.com"

Not sure how long this has been happening for.

@lmars mentioned this might be to do with SNI; when the client doesn’t provide SNI then the server responds with a certificate that doesn’t include internet-up.ably-realtime.com as an allowed subject name. It’s quite possible that we are not supplying SNI; need to look into that. As for why this used to work, perhaps we changed the way that we generate certs so that they now only work when SNI is supplied, not sure (flagged this to infrastructure support).

Internal Slack thread.

┆Issue is synchronized with this Jira Task by Unito

lawrence-forooghian avatar Apr 23 '24 17:04 lawrence-forooghian