<div dir="ltr"><div>Hi All:</div><div><br></div>I tried to enable the FIPS mode by making the following changes in my openssl.cfg config file.<div><br></div><div>After making the changes, I verified that I can no longer run the non FIPS approval algorithm such as MD5 by running openssl command, which is expected:</div><div><br></div><div>openssl md5 123.txt</div><div><br></div><div><br></div><div>However, I can still use Python hashlib.md5() function to generate MD5 hash.</div><div><br></div><div>Does anyone know should the FIPS mode work for Python as well? My understanding is Python SSL module also use openssl underneath, so ideally the FIPS mode should have impacted my Python as well.</div><div><br></div><div>Thanks and any suggestions are greatly appreciated.</div><div><br></div><div><br></div><div>..........</div><div><span style=""> # Default appname: should match "appname" parameter (if any)</span><br style=""><span style=""> # supplied to CONF_modules_load_file et al.</span><br style=""><span style="">openssl_conf = openssl_conf_section</span><br style=""><br style=""><span style="">[openssl_conf_section]</span><br style=""><span style=""> # Configuration module list</span><br style=""><span style="">alg_section = evp_sect</span><br style=""><br style=""><span style="">[evp_sect]</span><br style=""><span style=""> # Set to "yes" to enter FIPS mode if supported</span><br style=""><span style="">fips_mode = yes</span><br style=""><br style=""><br style=""><span style="">[ new_oids ]</span><br style=""></div><div><span style="">.................</span></div></div>