BlueSSLService
BlueSSLService copied to clipboard
Problem with expired certificate
Hello,
In our project we have a standard configuration like this:
_configuration = SSLService.Configuration() _socket = try Socket.create(family: .inet6, type: .stream, proto: .tcp) _socket.delegate = try SSLService(usingConfiguration: _configuration)
and we have a problem that when the certificate on server expires our app still is sending messages. How can we check this or stop sending if we detect that certificate is corrupted?