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

Self-signed certificates missing a SAN (Subject Alternate Name) #3

Open
suntong opened this issue Jul 9, 2019 · 3 comments
Open

Self-signed certificates missing a SAN (Subject Alternate Name) #3

suntong opened this issue Jul 9, 2019 · 3 comments

Comments

@suntong
Copy link

suntong commented Jul 9, 2019

If self-signed certificate missing a SAN (Subject Alternate Name), modern browsers will throw a security error. So it's important to put DNS name in the SAN and not the CN, because both the IETF and the CA/Browser Forums specify the practice.

For details, check out How to create a self-signed certificate.

@bdevel
Copy link

bdevel commented Feb 17, 2021

@suntong I cannot get the SSL bump to work - all the certificates are being rejected by the browser. Chrome said that it "is not standards compliant". Can you be more specific about how you resolved this issue? Is it an issue with the CA generation or squid.conf?

I see in Squid change log they have this which seems like it would have fixed the issue you are describing.

Changes to squid-3.5.26 (01 Jun 2017):
Bug 4711: SubjectAlternativeNames is missing in some generated certificates

@bdevel
Copy link

bdevel commented Feb 17, 2021

This fork has a patch which upgrades Squid to v4 will resolve the issue. sara4dev@787c4aa

@suntong
Copy link
Author

suntong commented Feb 17, 2021

I was never able to fix it myself.
Thanks a lot for the great work! 👍

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