[openssl-users] Openssl failed to decrypt certificate without \r\n
Zhang, Lily (USD)
Lily.Zhang at dell.com
Mon Sep 18 07:21:15 UTC 2017
Thanks for your reply.
Why it can decrypt attached root.cer, it also has long lines in root.cer?
From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf Of Viktor Dukhovni
Sent: Monday, September 18, 2017 2:00 PM
To: openssl-users at openssl.org
Subject: Re: [openssl-users] Openssl failed to decrypt certificate without \r\n
> On Sep 17, 2017, at 10:23 PM, Zhang, Lily (USD) <Lily.Zhang at dell.com> wrote:
> Would you help me to take a look this certificate issue?
> In order to send out the file, I added ".txt" in the file name. Please remove it before test it.
> Leaf_no_rn.cer doesn't have \r\n in the BASE64 string, it can't be parsed by openssl.
> Leaf_with_rn.cer is the same as Leaf_no_rn.cer, but it has \r\n in BASE64 string.
> Both the attached two certificates can be parsed by Windows.
This is expected, the OpenSSL PEM file reader does not support input lines with IIRC more than 64 bytes. PEM files are not supposed to have longer lines.
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the openssl-users