<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Please forgive my ignorance here. I’m really not a certificate expert. I’m a software developer trying to make certificates to use in a testing situation.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve got some scripts that I have been using for years. I’ve just upgraded to 1.10f (but there are no upgrade issues that I know of – that’s not the problem).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My last test certificate expired. So I am trying to make another one. All I seem to be able to make are SHA-1 signed certificates, but I’m trying to load them into a FIPS-140 (non-OpenSSL) key repository and it is failing, I think because of the SHA-1. Here is how I am making the certificate. What do I have to do differently to make a SHA-512 (or at least some SHA > 1) certificate?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>C:\OpenSSL-Win32-110f\bin\openssl.exe req -newkey rsa:2048 -sha512 -keyout %1.key.pem -out %1.req.pem -config openssl_edited_win32_default.cfg -extensions usr_cert -reqexts usr_cert -nodes -days 3650<o:p></o:p></p><p class=MsoNormal>C:\OpenSSL-Win32-110f\bin\openssl req -text -in %1.req.pem -sha512<o:p></o:p></p><p class=MsoNormal>C:\OpenSSL-Win32-110f\bin\openssl.exe ca -in %1.req.pem -config CMC_root_config.cnf -out %1.pem -verbose -cert CMC_root.pem -keyfile CMC_root.key.pem -passin pass:password<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is what I end up with:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>    Signature Algorithm: sha1WithRSAEncryption<o:p></o:p></p><p class=MsoNormal>        Issuer: CN=Charles Mills Consulting, LLC, ST=California, C=US/emailAddress=charlesm@mcn.org, O=Charles Mills Consulting, LLC<o:p></o:p></p><p class=MsoNormal>        Validity<o:p></o:p></p><p class=MsoNormal>            Not Before: Nov  6 19:13:09 2017 GMT<o:p></o:p></p><p class=MsoNormal>            Not After : Nov  6 19:13:09 2018 GMT<o:p></o:p></p><p class=MsoNormal>        Subject: CN=Charles Mills Consulting, LLC, ST=California, C=US/emailAddress=charlesm@mcn.org, O=CZAGENT_Nov2017<o:p></o:p></p><p class=MsoNormal>        Subject Public Key Info:<o:p></o:p></p><p class=MsoNormal>            Public Key Algorithm: rsaEncryption<o:p></o:p></p><p class=MsoNormal>                Public-Key: (2048 bit)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>While we’re at it, why doesn’t my –days 3650 seem to have any effect?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><i>Charles </i><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>