New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify sm2 certification failed through 'openssl verify' #24167
Comments
does your openssl build have sm2 and sm3 enabled? When enabling both algorithms on the master branch, I was able to run the above command without issue |
I have no idea, maybe I will try master later.
`b1gcat@b1gcat openssl-3.3.0 perl configdata.pm --dump Command line (with current working directory = .):
Perl information:
Enabled features:
|
I suspect its not. I believe sm2/3 is disabled by default. If you configure with:
Then the output of configdump shows
And everything works |
very very wierd ......:
|
well, i clone master and start as follows:
bong :(
|
the issue says as follows:
`openssl verify -no_check_time -CAfile ./chain.pem u2.pem
C=CN, O=BJCA, OU=BJCA, CN=Beijing SM2 CA
error 7 at 1 depth lookup: certificate signature failure
error u2.pem: verification failed
00B14644F87F0000:error:06880006:asn1 encoding routines:ASN1_item_verify_ctx:EVP lib:crypto/asn1/a_verify.c:216:
`
certs.zip
The text was updated successfully, but these errors were encountered: