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

Updated certificate function call. #841

Merged
merged 1 commit into from
Aug 28, 2021
Merged

Conversation

redboltz
Copy link
Owner

Replaced use_certificate_file with use_certificate_chain_file.
If certificate file contians one certification, both ok.
However, if the certificate file contains intermidiate certificate and
server certificate, then only use_certificate_chain_file works.

See
https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_use_certificate.html

Replaced use_certificate_file with use_certificate_chain_file.
If certificate file contians one certification, both ok.
However, if the certificate file contains intermidiate certificate and
server certificate, then only use_certificate_chain_file works.

See
https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_use_certificate.html
@codecov
Copy link

codecov bot commented Aug 28, 2021

Codecov Report

Merging #841 (bed6d65) into master (8de03ed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #841   +/-   ##
=======================================
  Coverage   81.00%   81.00%           
=======================================
  Files          62       62           
  Lines        9274     9274           
=======================================
  Hits         7512     7512           
  Misses       1762     1762           

@redboltz redboltz merged commit 1bfd3cf into master Aug 28, 2021
@redboltz redboltz deleted the replace_set_cert_file branch August 28, 2021 05:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant