Certificate verification now works on windows using windows CA store

This commit is contained in:
2022-03-18 21:52:45 -04:00
parent 37ed57a178
commit fa7296cde1
4 changed files with 33 additions and 3 deletions

View File

@@ -35,8 +35,8 @@ class DriverWebServerTest : public DrivenEngine {
public:
eng::vector<SharedChannel> channels_;
virtual void event_init(int argc, char *argv[]) {
SharedChannel ch = new_outgoing_channel("stanford.edu:80");
ch->out()->write_bytes("GET http://stanford.edu/index.html HTTP/1.1\n\n");
SharedChannel ch = new_outgoing_channel("cert:stanford.edu:443");
ch->out()->write_bytes("GET https://stanford.edu/xbanankjdsh.html HTTP/1.1\n\n");
channels_.emplace_back(std::move(ch));
}