Getting the following error after upgrading to go 1.18:
PKIOperation for PKCSReq (19): http request failed with status 500 Internal Server Error, msg: x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)
Fixed the issue by setting the digest algorithm to SHA256.
Getting the following error after upgrading to go 1.18: PKIOperation for PKCSReq (19): http request failed with status 500 Internal Server Error, msg: x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)
Fixed the issue by setting the digest algorithm to SHA256.