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

add certificate verifying in ssl client examples #1237

Closed
wants to merge 3 commits into from
Closed

add certificate verifying in ssl client examples #1237

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 28, 2018

Verify the remote servers' certificates in the ssl examples.

PeterW3 added 3 commits August 27, 2018 19:36
Verify remote server's certificate
Verify remote server's certificate
remove duplicated root certificate pem string
@vinniefalco
Copy link
Member

vinniefalco commented Aug 30, 2018

Why are removing that one certificate? Also what about the websocket clients?

@ghost
Copy link
Author

ghost commented Aug 30, 2018

Here should be a loop, add one authority once.

@codecov
Copy link

codecov bot commented Aug 30, 2018

Codecov Report

Merging #1237 into develop will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1237      +/-   ##
===========================================
- Coverage    95.52%   95.51%   -0.01%     
===========================================
  Files          113      113              
  Lines        11064    11064              
===========================================
- Hits         10569    10568       -1     
- Misses         495      496       +1
Impacted Files Coverage Δ
include/boost/beast/websocket/impl/close.ipp 99.49% <0%> (-0.51%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1da229a...9450271. Read the comment docs.

vinniefalco pushed a commit to vinniefalco/beast that referenced this pull request Sep 23, 2018
fix boostorg#1237

HTTP client examples now verify the server's certificate
and generate an error if the certificate is invalid or
expired:

* Set certificate verify mode
* Remove duplicate root certificate
vinniefalco pushed a commit to vinniefalco/beast that referenced this pull request Sep 23, 2018
fix boostorg#1237

HTTP client examples now verify the server's certificate
and generate an error if the certificate is invalid or
expired:

* Set certificate verify mode
* Remove duplicate root certificate
vinniefalco pushed a commit to vinniefalco/beast that referenced this pull request Sep 23, 2018
fix boostorg#1237

HTTP client examples now verify the server's certificate
and generate an error if the certificate is invalid or
expired:

* Set certificate verify mode
* Remove duplicate root certificate
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.

1 participant