Loading src/httpd.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ #include <fstream> #include <iostream> #include <cctype> #include <ctime> #include <string> #include <thread> #include <chrono> Loading Loading @@ -1747,7 +1748,10 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } if (!bundle.cert.checkValidity()) { _httpexception[HTTPException::Critical] << "invalid certfile!"; time_t now = time(nullptr); _httpexception[HTTPException::Critical] << "invalid certfile: " << derfile << " (CN=" << bundle.cert.getSubjectCN() << ", system_time=" << now << ")"; throw _httpexception; } Loading Loading @@ -1786,7 +1790,10 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } if (!bundle.cert.checkValidity()) { _httpexception[HTTPException::Critical] << "invalid certfile!"; time_t now = time(nullptr); _httpexception[HTTPException::Critical] << "invalid certfile: " << sslcertpath << " (CN=" << bundle.cert.getSubjectCN() << ", system_time=" << now << ")"; throw _httpexception; } Loading Loading
src/httpd.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ #include <fstream> #include <iostream> #include <cctype> #include <ctime> #include <string> #include <thread> #include <chrono> Loading Loading @@ -1747,7 +1748,10 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } if (!bundle.cert.checkValidity()) { _httpexception[HTTPException::Critical] << "invalid certfile!"; time_t now = time(nullptr); _httpexception[HTTPException::Critical] << "invalid certfile: " << derfile << " (CN=" << bundle.cert.getSubjectCN() << ", system_time=" << now << ")"; throw _httpexception; } Loading Loading @@ -1786,7 +1790,10 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } if (!bundle.cert.checkValidity()) { _httpexception[HTTPException::Critical] << "invalid certfile!"; time_t now = time(nullptr); _httpexception[HTTPException::Critical] << "invalid certfile: " << sslcertpath << " (CN=" << bundle.cert.getSubjectCN() << ", system_time=" << now << ")"; throw _httpexception; } Loading