Im developing a own ACME client, and then I ran into a weird isssue:
https://community.letsencrypt.org/t/error-unmarshaling-request/246430/2 I missed the fact that the CSR (INSIDE the JSON object) also should be b64_url encoded. So you had to do a b64 --> b64_url transisiton on the PEM CSR. Whats the rationale behind this? Logically, the outer container is b64_url encoded, and thus the whole container is "protected" against any sheninigans that can happen during POSTing. Thus the inner container (the CSR) doesn't need to be urlsafe encoded, since the "outer container" protects the enviroment from the bogus/invalid characters. So why this thing in the RFC 8555 standard? Best regards, Sebastian Nielsen
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Acme mailing list -- [email protected] To unsubscribe send an email to [email protected]
