There is a bug in ASN.1 DER serializer used to generate RSA private keys. It trims trailing zeros despite the DER specification. Please see the full info and reproduction steps in my blog http://khason.net/dev/openssl-bug-or-why-some-private-keys-cannot-be-used-for-net/#comments
-- Tamir http://khason.net/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org