To see the format used you can do:

openssl rsautl -verify -certin -in signature -inkey cert.pem -hexdump

and post the result. Also try it with the -asn1parse option instead of
-hexdump.




# openssl rsautl -verify -certin -in signature -inkey vpn_test_konz.pem -asn1parse
Error in encoding
15952:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:132:


# openssl rsautl -verify -certin -in signature -inkey vpn_test_konz.pem -hexdump
0000 - 4f 23 50 15 e1 24 51 a2-4d 86 28 4c 4a 3b 50 29 O#P..$Q.M.(LJ;P)
0010 - f0 13 ad 14 ....


this is exactly the expected data:
4f235015 e12451a2 4d86284c 4a3b5029 f013ad14

So is there a way to verify the hex-data?

Andreas

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to