summaryrefslogtreecommitdiff
path: root/platform/src/key_keeper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/src/key_keeper.cpp')
-rw-r--r--platform/src/key_keeper.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/platform/src/key_keeper.cpp b/platform/src/key_keeper.cpp
index dcac4ed..3dc0ec4 100644
--- a/platform/src/key_keeper.cpp
+++ b/platform/src/key_keeper.cpp
@@ -507,9 +507,14 @@ struct key_keeper* key_keeper_init(const char * profile, const char* section, vo
{
keeper->work_mode = KK_MODE_NORMAL;
}
- MESA_load_profile_string_def(profile, section, "ca_path", keeper->trusted_ca_path, sizeof(keeper->trusted_ca_path), "./conf/mesalab-ca.pem");
- MESA_load_profile_string_def(profile, section, "untrusted_ca_path", keeper->untrusted_ca_path, sizeof(keeper->untrusted_ca_path), "./conf/mesalab-ca-untrust.pem");
- MESA_load_profile_string_def(profile, section, "cert_store_host", keeper->cert_store_host, sizeof(keeper->cert_store_host), "xxxxx");
+
+ MESA_load_profile_string_def(profile, section, "ca_path", keeper->trusted_ca_path,
+ sizeof(keeper->trusted_ca_path), "./resource/tfe/mesalab-ca.pem");
+ MESA_load_profile_string_def(profile, section, "untrusted_ca_path", keeper->untrusted_ca_path,
+ sizeof(keeper->untrusted_ca_path), "./resource/tfe/mesalab-ca-untrust.pem");
+ MESA_load_profile_string_def(profile, section, "cert_store_host", keeper->cert_store_host,
+ sizeof(keeper->cert_store_host), "");
+
MESA_load_profile_uint_def(profile, section, "cert_store_port", &(keeper->cert_store_port), 80);
MESA_load_profile_uint_def(profile, section, "hash_slot_size", &(keeper->hash_slot_size), 1024*128);
MESA_load_profile_uint_def(profile, section, "hash_expire_seconds", &(keeper->hash_expire_seconds), 5*60);