<div dir="ltr">Not sure if this helps but the native installation for CentOS7 by default installs OpenSSL with FIPS mode compiled in which means deprecated algorithms such as MD5 and the like will not work. If you tried to generate a certificate you should have received an error or not have seen that algorithm in your certificate etc. <div><br></div><div>As others have suggested you will have to end building a version of OpenSSL with FIPS mode disabled in order to use MD5 unless you can get a version from the Centos repo mirrors without FIPS. </div><div><br></div><div>The default output from "openssl version" in CentOS7</div><div>







<p class="gmail-p1"><span class="gmail-s1">OpenSSL 1.0.1e-fips 11 Feb 2013</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 2:02 PM, Michael Wojcik <span dir="ltr"><<a href="mailto:Michael.Wojcik@microfocus.com" target="_blank">Michael.Wojcik@microfocus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> From: openssl-users [mailto:<a href="mailto:openssl-users-bounces@openssl.org">openssl-users-bounces@<wbr>openssl.org</a>] On Behalf<br>
> Of Jochen Bern<br>
> Sent: Wednesday, September 27, 2017 06:51<br>
> To: <a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a><br>
> Subject: Re: [openssl-users] Hardware client certificates moving to Centos 7<br>
<span class="">><br>
> I don't know offhand which OpenSSL versions did away with MD5, but you<br>
> *can* install an 0.9.8e (+ RHEL/CentOS backported security patches)<br>
> straight off CentOS 7 repos:<br>
<br>
</span>Ugh. No need for 0.9.8e (which is from, what, the early Industrial Revolution?). MD5 is still available in OpenSSL 1.0.2, assuming it wasn't disabled in the build configuration. I think Stuart is dealing with an OpenSSL build that had MD5 disabled in the Configure step.<br>
<br>
Heck, MD4 and MDC2 are still available in 1.0.2 - even with the default configuration, I believe. I'm looking at 1.0.2j here and it has GOST, MD4, MD5, MDC2, RIPEMD-60, SHA, SHA1, SHA-2 (all standard lengths), and Whirlpool.<br>
<br>
That's just for digests, obviously; but the point is the MD5 support is still there. And yes, 1.0.2j can handle certificates with md5WithRsaEncryption signatures.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Michael Wojcik<br>
Distinguished Engineer, Micro Focus<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br></div>