From 9e2d313c53789abb888aa94a1d44a15beaf43363 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 17 Dec 2018 10:31:51 +0100 Subject: [PATCH] fix rootca not found --- Classes/LinphoneManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index b326b52e0..fc43159cb 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -2067,8 +2067,8 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat linphone_core_reload_ms_plugins(theLinphoneCore, NULL); [self migrationAllPost]; - /* set the CA file no matter what, since the remote provisioning could be hitting an HTTPS server */ - linphone_core_set_root_ca(theLinphoneCore, [LinphoneManager bundleFile:@"rootca.pem"].UTF8String); + /* Use the rootca from framework, which is already set*/ + //linphone_core_set_root_ca(theLinphoneCore, [LinphoneManager bundleFile:@"rootca.pem"].UTF8String); linphone_core_set_user_certificates_path(theLinphoneCore, [LinphoneManager cacheDirectory].UTF8String); /* The core will call the linphone_iphone_configuring_status_changed callback when the remote provisioning is loaded