I have a build of OpenSSL that uses the FIPS Object Module for FIPS-validated cryptography. Certain applications such as Tomcat support the use of this specialized FIPS OpenSSL. You compile against the OpenSSL crypto libraries and then set an option in some configuration file (for Tomcat this would be FIPSMode=on in server.xml).
I would like to use FIPS OpenSSL with MySQL. I know you can build MySQL to use OpenSSL, but I have found no indication that you can enable FIPS mode, either via a configuration file or some other means. Is this possible?
Some background: to use OpenSSL in FIPS mode the application must call FIPS_mode_set() and this must return non-zero. Tomcat will do this for you if you set the FIPSMode flag appropriately in server.xml. MySQL does not seem to have such a flag. Maybe there is some other means to accomplish this.