[openssl-users] Converting DER encoded unsigned CSR to internal OpenSSL format

Dr. Stephen Henson steve at openssl.org
Tue Nov 10 14:18:26 UTC 2015

On Mon, Nov 09, 2015, Peter P. wrote:

> Hi,
> I'm writing an application using Openssl 1.0.2d where I am trying to take a
> DER encoded unsigned CSR and read it into an X509_REQ data structure via
> the d2i_X509_REQ_bio() function. This function errors out during when I
> attempt to read in my unsigned CSR and I would like to know if there is any
> other way to read in an unsigned CSR into an X509_REQ data structure.

The signature on a CSR is mandatory so if it is not present it isn't a valid
CSR structure any more: that will cause the parser to reject it.

Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

More information about the openssl-users mailing list