-
Notifications
You must be signed in to change notification settings - Fork 57
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
Bugfix/494 libocpp verify csms cn wildcard #516
Bugfix/494 libocpp verify csms cn wildcard #516
Conversation
e62da5b
to
f9f753d
Compare
f9f753d
to
8d963f9
Compare
e4ec1e9
to
4dca13d
Compare
59b911b
to
5ac3957
Compare
9564491
to
39c1688
Compare
All the comments were resolved. Note: codacity issue is a false-flag, the value IS used within the code in multiple places. |
Signed-off-by: AssemblyJohn <[email protected]>
resolves #494 Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: AssemblyJohn <[email protected]>
Note: a workaround is used since libwebsocket overwrites the param usage when checking the server certificate Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: Kai-Uwe Hermann <[email protected]>
b76264e
to
2802d1b
Compare
Note: when trying to use X509_VERIFY_PARAM_set1_host and SSL_CTX_set1_param(ctx, param); for the current context in the 'tls_init' function it seems that libwebsockets does not take into account the set parameter and any server certificate passes the check. Because of that, at the moment the server certificate's host is manually checked using the 'X509_check_host' routine. When we can see why libwebsockets does not take into account the automatic parameter check, a new fix should be introduced, removing the manual X509_check_host. |
Signed-off-by: AssemblyJohn <[email protected]>
2802d1b
to
c0dfe0c
Compare
Describe your changes
Issue ticket number and link
resolves: #494
Checklist before requesting a review