BUG: PEMReader cannot read certificate requests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BUG: PEMReader cannot read certificate requests

Chris Barrett

Hi.

I have written a PEM-encoded PKCS10 certificate request using PEMWriter, and get a class-cast exception when reading it back with a PEMReader.

From looking at the source, this is because it checks for "BEGIN CERTIFICATE" before it checks for "BEGIN CERTIFICATE REQUEST", and will therefore never get to the request part.

 

Could someone fix this in CVS?

 

Regards,

Chris