Comments (1)
I finally got it to work. the certification path limitation in windows is actually not a problem.
the problem is that if you're not using a Certificate issued by valid authorities that are not in the bundled CA roots of curl then curl won't accept it.
so you need to set a custom CA root cert which in my case is used for a self-signed certificate.
the catch is that you have to make the CA cert and the server cert with correct parameters so curl will accept them
https://www.section.io/engineering-education/how-to-get-ssl-https-for-localhost/
https://gist.github.com/cecilemuller/9492b848eb8fe46d462abeb26656c4f8
i used this online tool to make a single CA cert without using another for server
https://certificatetools.com/
from restclient-cpp.
Related Issues (20)
- Disable SSL peer validation
- How to pass in parameters
- How to deal with this type of data?get method
- valgrind HOT 1
- Basic Post Request isn't working
- Proxy tunnel is enabled on all connections
- Request URL changes if I execute it in different thread
- Support body in delete
- Connection::post() seems to send deformed data
- RestClient::Response reassignment is null
- coud not support the asynchronous non-blocking send? curl_multi_perform
- does it support http2 now? HOT 1
- async get/post function support?
- librestclient-cpp.so HOT 1
- Release 0.5.3
- move release automation to GitHub actions
- Export symbols on Windows when building shared library
- [Gtest Question] What kind of http server used to test?
- void Connection::SetVerifyPeer(bool _verifyPeer) is not usefule to ignore peer verification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restclient-cpp.