We want to read the public key of certificates created with an RSA PSS key.
Using 'openssl x509 -inform DER -in test.cer -text' returns
...
Subject Public Key Info:
Public Key Algorithm: rsassaPss
Unable to load Public Key
3000:error:0609E09C:digital envelope routines:PKEY_SET_TYPE:unsupported
algorithm:.\crypto\evp\p_lib.c:239:
3000:error:0B07706F:x509 certificate routines:X509_PUBKEY_get:unsupported
algorithm:.\crypto\asn1\x_pubkey.c:155:
...
The other parts of the certificate are shown correctly. Used openssl version
is 1.0.1g. Not sure if this is our mistake or not supported by openssl. But
it works with certificates created with standard RSA keys.
Eventually we want to use libeay32.dll directly. We already did this
successfully in the past but found now X509_get_pubkey() returning NULL
using such certificates. - Maybe there exists an alternative way to read out
the public key to get a pointer to an EVP_PKEY structure?
Regards, Michael
--
View this message in context:
http://openssl.6102.n7.nabble.com/Reading-the-public-key-of-a-certificate-created-with-RSA-PSS-tp50021.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]