Hi,
We are facing an issue when we are trying to sign a certificate using digest value EVP_sha1(). It throws an exception error "Error: com.adharman.datatools.DataException: java.lang.Exception: java.lang.Exception: [0x80004005] AvMiuOpenSSLCertCreate, X509_sign->0. [error:060B7098:digital envelope routines:EVP_DigestSignInit:invalid digest]"
When I tried same thing with EVP_sha256() it worked. Is there any change in Centos7.4? Any deprecation for sha1? Please share your thoughts on the same.
On 10/04/18 13:07, Veetil, Vyshnav wrote:
Hi,
We are facing an issue when we are trying to sign a certificate using digest value EVP_sha1(). It throws an exception error
“Error: com.adharman.datatools.DataException: java.lang.Exception: java.lang.Exception: [0x80004005] AvMiuOpenSSLCertCreate, X509_sign->0. [error:060B7098:digital envelope routines:EVP_DigestSignInit:invalid digest]”
When I tried same thing with EVP_sha256() it worked. Is there any change in Centos7.4? Any deprecation for sha1? Please share your thoughts on the same.
The exact same question asked on the forums gets the exact same answer:
7.4 deprecated SHA1 - see the upstream release notes.
Trevor