Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wish: add support for x509 certificates in text form #48

Closed
nahuel opened this issue May 3, 2018 · 0 comments
Closed

wish: add support for x509 certificates in text form #48

nahuel opened this issue May 3, 2018 · 0 comments

Comments

@nahuel
Copy link
Contributor

nahuel commented May 3, 2018

Some software like Nginx accepts x509 certificates in text form, like the one you get running openssl x509 -in /etc/ssl/certs/ssl-cert-snakeoil.pem -text. Is simply the same PEM text but prepended by a human readable chunk describing the cert fields. It will be nice to make parseCertificate(...) detect and parse this format by extracting the PEM at the bottom and discarding all the (redundant) info at top, instead of raising CertificateParseError as currently does.

joyent-automation pushed a commit that referenced this issue Dec 19, 2018
Reviewed by: Cody Peter Mello <cody.mello@joyent.com>
This was referenced Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants