acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Support older style (Windows) CSR headers and footers

Open eidorb opened this issue 7 years ago • 0 comments

Use grep regular expressions to match older style headers

-----BEGIN NEW CERTIFICATE REQUEST-----
...
-----END NEW CERTIFICATE REQUEST-----

in addition to the standard

-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----

The older style headers are present in CSRs created by Windows certreq.

There is a discussion on the headers here: https://stackoverflow.com/questions/28628744/is-there-a-spec-for-csr-begin-headers

eidorb avatar Jan 16 '18 04:01 eidorb