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

x509 certificates with string containing "_" can't be parsed by Go TLS #22

Closed
arekinath opened this issue Jan 13, 2017 · 0 comments
Closed

Comments

@arekinath
Copy link
Contributor

arekinath commented Jan 13, 2017

Leads to output like:

Could not load X509 key pair: asn1: syntax error: PrintableString contains invalid character.

Turns out we're always writing an ASN.1 PrintableString tag, even when the string contains an _ (which is not a "printable" character in ASN.1 definitions). We should output this as an IA5String or UTF8String.

joyent-automation pushed a commit that referenced this issue Jan 14, 2017
…o TLS

Reviewed by: Cody Mello <cody.mello@joyent.com>
Approved by: Cody Mello <cody.mello@joyent.com>
joyent-automation pushed a commit to TritonDataCenter/node-triton that referenced this issue Feb 2, 2017
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
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

1 participant