mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix self-signed certificate handling (#1649)
This commit is contained in:
@@ -584,11 +584,7 @@ int LedDevicePhilipsHueBridge::close()
|
||||
bool LedDevicePhilipsHueBridge::configureSsl()
|
||||
{
|
||||
_restApi->setAlternateServerIdentity(_deviceBridgeId);
|
||||
|
||||
if (_isDiyHue)
|
||||
{
|
||||
_restApi->acceptSelfSignedCertificates(true);
|
||||
}
|
||||
_restApi->acceptSelfSignedCertificates(true);
|
||||
|
||||
bool success = _restApi->setCaCertificate(API_SSL_CA_CERTIFICATE_RESSOURCE);
|
||||
if (!success)
|
||||
|
Reference in New Issue
Block a user