You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce14c7b
Browse filesBrowse the repository at this point in the historyBrowse files
return std::make_shared<httpserver::http_response>(httpserver::http_response::string("Certificate not verified by trusted CA").with_status(httpserver::http::http_utils::http_forbidden));
return std::make_shared<httpserver::http_response>(httpserver::http_response::string("Certificate not in allowlist").with_status(httpserver::http::http_utils::http_forbidden));
97
91
}
98
92
99
93
// Check certificate validity times
@@ -102,15 +96,11 @@ class secure_resource : public httpserver::http_resource {
return std::make_shared<httpserver::http_response>(httpserver::http_response::string("Certificate not yet valid").with_status(httpserver::http::http_utils::http_forbidden));
return std::make_shared<httpserver::http_response>(httpserver::http_response::string("Certificate has expired").with_status(httpserver::http::http_utils::http_forbidden));
114
104
}
115
105
116
106
// Build response with certificate info
@@ -121,7 +111,7 @@ class secure_resource : public httpserver::http_resource {
0 commit comments