15,911,141 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by MrJay994 (Top 8 by date)
MrJay994
2-Aug-23 7:54am
View
I did another try catch block and caught this:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
MrJay994
2-Aug-23 7:13am
View
Yes, I agree, as you can see I tried doing that in the client with the try catch block
try {
Poco::Net::initializeSSL();
Poco::Net::HTTPSClientSession session(uri.getHost(), uri.getPort(), context);
std::ostream& myOStream = session.sendRequest(req);
object1.stringify(myOStream);
// get response
Poco::Net::HTTPResponse res;
session.receiveResponse(res);
std::cout << "Response Status = " << res.getStatus() << std::endl;
std::cout << "Response Reason = " << res.getReason() << std::endl;
Poco::Net::uninitializeSSL();
} catch (const Poco::Net::SSLException& ex) {
std::cerr << "SSL Exception: " << ex.what() << std::endl;
}
with std::cerr << "SSL Exception: " << ex.what() << std::endl; in the catch block
But appareantly only SSL Exception: SSL Exception is being provided :(.
MrJay994
18-Jul-23 4:55am
View
Yeah, I'm pretty sure you yourself wouldn't manage to create an application using only these things among the search I also did on the internet and with what I found, this is why I asked perhaps for more. Have a good day
MrJay994
18-Jul-23 4:32am
View
https://docs.pocoproject.org/current/package-Net.OAuth.html
These are all documentations.
MrJay994
18-Jul-23 4:19am
View
https://www.ibm.com/docs/en/api-connect/5.0.x?topic=endpoint-tutorial-securing-api-by-using-oauth-20
This one is specific for the IBM application. I do now work with IBM.
https://docs.pocoproject.org/current/Poco.Net.OAuth20Credentials.html
This one is mostly documentation from which I can gather very little applicability.
MrJay994
18-Jul-23 4:09am
View
I already did, I used my previous suggestions and I couldn't find anything else, besides the POCO library which I installed. No examples at all anywhere using poco to secure a c++ api.
MrJay994
18-Jul-23 4:08am
View
Deleted
I already did, I used my previous suggestions and I couldn't find anything else.
MrJay994
13-Jul-23 2:17am
View
It is basically a server being started on an Ubuntu OS using the Pistache Rest Framework for C++ that can be found at the link I provided.
Show More