ably-ruby
ably-ruby copied to clipboard
Invalid server certificate error for `internet-up` endpoint
@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).