Length of buffer does not match length of ASN.1 sequence. #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We’re using this lib to get infos about LE certificates. This has worked fine so far.
Now I have a certificate, for which I get
Error: Length of buffer does not match length of ASN.1 sequence.
Added some logging in
asn1-parser.js
:When I disable the check
if (len !== 2 + asn1.lengthSize + asn1.length)
, the certificate is still properly decoded.Any idea what’s going on here? I could share the certificate privately if that helps!
Yes, please do. aj@therootcompany.com
Done.
I never got it, not even in my spam.
Perhaps put it in a zip file and send it to coolaj86@gmail.com instead.
Done.
Did my email arrive?
Hello coolaj86,
I use NodeRed to manage my certificates, everything was working perfectly and now it doesn't work anymore.
I have an error message, see below.
I see here that another person had this problem.
Could you help me solve this one. I am attaching the only messages I receive.
Inside this ?
Many Thanks for your help.
/Jean-Luc
Solved.
We were accidentally passing the entire chain instead of just the cert. This worked in some (most?) cases, in some not. Fixed by just passing the cert.
Hello, I've noticed the patch but it still doesn't work.
Did you forget to update the repository? It seems to be a bit outdated.
Thanks for your help.
/JLM
@JLM May well use https://www.npmjs.com/package/certpem. It's from the same guy. :)