As per analysis by mschorm on the upstream bugzilla:
<https://bugzilla.redhat.com/show_bug.cgi?id=2144488#c2>
the SSL tests were not really working properly.
Even though we had a misconfigured mariadb server for tests, it didn't
complain until now. It already had been fixed for Fedora via
c33b1cff59
the commit contents were adjusted for the RHEL environemnt and
mysql2 0.5.3 since the Fedora's commit is for mysql2 0.5.4.
Additionally, enhance the DB connection check via:
8b771a1ea9
Related: RHEL-5584