Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-7831
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Sep 14, 2023
1 parent 797165f commit d7b5d7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/RADSEC_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ namespace OpenWifi {
Socket_->connect(Destination, Poco::Timespan(100, 0));
Socket_->completeHandshake();

SecureContext->enableExtendedCertificateVerification(false);

/* if (!Server_.allowSelfSigned) {
Socket_->verifyPeerCertificate();
}
Expand Down Expand Up @@ -232,10 +234,10 @@ namespace OpenWifi {
poco_information(Logger_, fmt::format("Connected. CN={}", CommonName()));
return true;
} catch (const Poco::Net::NetException &E) {
poco_information(Logger_, "Could not connect.");
poco_information(Logger_, "NetException: Could not connect.");
Logger_.log(E);
} catch (const Poco::Exception &E) {
poco_information(Logger_, "Could not connect.");
poco_information(Logger_, "Exception: Could not connect.");
Logger_.log(E);
} catch (...) {
poco_information(Logger_, "Could not connect.");
Expand Down

0 comments on commit d7b5d7f

Please sign in to comment.