diff options
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r-- | src/webserver_main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index a4cf582aa7..1c9c1f18d3 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -61,15 +61,6 @@ int main(int argc, char** argv) auto io = std::make_shared<boost::asio::io_context>(); CrowApp app(io); -#ifdef BMCWEB_ENABLE_SSL - std::string sslPemFile("server.pem"); - std::cout << "Building SSL Context\n"; - - ensuressl::ensureOpensslKeyPresentAndValid(sslPemFile); - std::cout << "SSL Enabled\n"; - auto sslContext = ensuressl::getSslContext(sslPemFile); - app.ssl(std::move(sslContext)); -#endif // Static assets need to be initialized before Authorization, because auth // needs to build the whitelist from the static routes |