diff --git a/http/server.cpp b/http/server.cpp index 6386c4e..8991708 100755 --- a/http/server.cpp +++ b/http/server.cpp @@ -19,7 +19,7 @@ server::server(const std::string& address, const std::string& port, const std::string& doc_root, boost::asio::ssl::context& inSslContext) : io_context_(1), signals_(io_context_), - acceptor_(io_context_, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 8043)), + acceptor_(io_context_, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 443)), connection_manager_(), request_handler_(doc_root), sslContext(inSslContext), diff --git a/main.cpp b/main.cpp index 4c33493..6957261 100755 --- a/main.cpp +++ b/main.cpp @@ -36,9 +36,9 @@ int main() std::function f = [](std::size_t, boost::asio::ssl::context_base::password_purpose) -> std::string { return ""; }; sslContext.set_password_callback(f); - sslContext.use_certificate_chain_file("server.crt"); + sslContext.use_certificate_chain_file("C:/Work/temp/browser.fishrungames.com/fullchain1.pem"); - sslContext.use_private_key_file("server.key", boost::asio::ssl::context::pem); + sslContext.use_private_key_file("C:/Work/temp/browser.fishrungames.com/privkey1.pem", boost::asio::ssl::context::pem); sslContext.use_tmp_dh_file("dh2048.pem");