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

nginx-tls: only use hostname part for TLS certificate #851

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

rosmo
Copy link
Collaborator

@rosmo rosmo commented Sep 30, 2022

The limitation for cert request is 64 characters in Common Name field:

problems making Certificate Request
140473219843520:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=64

This also puts the FQDN into subjectAltName, so we keep compatibility.

@rosmo rosmo merged commit 8e6e365 into GoogleCloudPlatform:master Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants