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

name can't be longer than 64 characters #5

Open
toddself opened this issue Jun 26, 2017 · 2 comments
Open

name can't be longer than 64 characters #5

toddself opened this issue Jun 26, 2017 · 2 comments

Comments

@toddself
Copy link

Was getting a failure on the openssl req -config command because the common name was too long.

This should truncate the common name at 64 characters if it exceeds it.

↳ openssl req -config /Users/todd/.config/devcert/openssl.conf -subj "/CN=-Users-todd-src-showrunner-node_modules-@scriptollc-code-mirror-ot-standalone.js" -key /Users/todd/.config/devcert/-Users-todd-src-showrunner-node_modules-@scriptollc-code-mirror-ot-standalone.js.key -out /Users/todd/.config/devcert/-Users-todd-src-showrunner-node_modules-@scriptollc-code-mirror-ot-standalone.js.csr -new
problems making Certificate Request
4550:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.50.6/src/crypto/asn1/a_mbstr.c:154:maxsize=64
@toddself
Copy link
Author

Fixed in #8

@davewasmer
Copy link
Owner

Sorry for the silence here, notifications got turned off on this repo by accident. I'll take a look at the PR!

alias-mac pushed a commit to alias-mac/devcert that referenced this issue Feb 8, 2024
Correct certificate path and post-placement command for RHEL7
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