mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
[PR #197] [MERGED] Add CA certificate authentication to TcpSocket and SSL class #223
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/197
Author: @zouqinglei
Created: 4/17/2024
Status: ✅ Merged
Merged: 4/21/2024
Merged by: @mirek-fidler
Base:
master← Head:master📝 Commits (3)
c75c7dfAdd CA certificate authentication to TcpSocket Classb8db73bAdd CA certificate authentication to TcpSocket Class9d61ebdupdate code review of Add CA certificate authentication📊 Changes
5 files changed (+44 additions, -0 deletions)
View changed files
📝
uppsrc/Core/Inet.h(+4 -0)📝
uppsrc/Core/SSL/SSL.h(+2 -0)📝
uppsrc/Core/SSL/Socket.cpp(+16 -0)📝
uppsrc/Core/SSL/Util.cpp(+16 -0)📝
uppsrc/Core/Socket.cpp(+6 -0)📄 Description
I found the HttpRequest and TcpSocket can not support CA certificate function, this may be have the mitm issue. So I add some code to TcpSocket and SSL class for slove this problem.
After the change, we can use the HttpRequest like this:
if the CA cert is not the server.cert's CA ,then report an error "SSL CA invalid".
The CA and Server cert gen steps:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.