When connecting to an Office 365 mail server, the connection fails with an error that indicates it could not create a security context. The application had been working previously and the account credentials are valid.
An error is returned when attempting to create a secure SSL or TLS connection indicating that the SocketTools component cannot establish a security context. This error can occur for several reasons, depending on the server configuration and the version of Windows the application is running on.
OpenSSL is an open source toolkit that implements the SSL and TLS security protocols. We have made Windows installation packages available for OpenSSL 1.1.1h which was released on September 22, 2020.
Support for secure credit card transactions using TLS 1.0 ended on June 30, 2018. The new standards defined by the PCI Security Standard Council requires all payment processors and third-party providers to explicitly disable support for TLS 1.0 and switch to exclusively using TLS 1.2.