ERROR 2026 (HY000): SSL connection error: ASN: before date in the future

When setting up mysql database to implement master-slave replication based on SSL today, an error occurred when logging in master server from slave server test:
ERROR 2026 (HY000): SSL connection error: ASN: before date in the future
ERROR 2026 (HY000): SSL connection error: protocol version mismatch

So the Internet search under the master, slave server time is not synchronized, but found that the master, slave time is consistent
And you can log in to the Master server without SSL
It was determined that the problem was SSL
Finally, it was found that the problem was caused by the CA host, whose time was ahead of its time, which was very weird…

Solution:
Synchronize ca host time, revisa

Read More: