Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log levels for cert and key load operations #1518

Merged
merged 5 commits into from
Aug 6, 2019
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions edgelet/hsm-sys/azure-iot-hsm-c/src/edge_hsm_client_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ static int generate_edge_hsm_certificates_if_needed(void)

if (load_status == LOAD_ERR_FAILED)
{
LOG_ERROR("Could not check and load owner CA certificate and key");
LOG_INFO("Could not load owner CA certificate and key");
result = __FAILURE__;
}
else if ((load_status == LOAD_ERR_VERIFICATION_FAILED) ||
Expand Down Expand Up @@ -1648,7 +1648,7 @@ static int generate_edge_hsm_certificates_if_needed(void)
OWNER_CA_ALIAS);
if (load_status == LOAD_ERR_FAILED)
{
LOG_ERROR("Could not check and load device CA certificate and key");
LOG_INFO("Could not load device CA certificate and key");
result = __FAILURE__;
}
else if ((load_status == LOAD_ERR_VERIFICATION_FAILED) ||
Expand Down Expand Up @@ -2693,7 +2693,7 @@ static int edge_hsm_client_store_create_pki_cert
int load_status = load_if_cert_and_key_exist_by_alias(handle, alias, issuer_alias);
if (load_status == LOAD_ERR_FAILED)
{
LOG_ERROR("Could not check and load certificate and key for alias %s", alias);
LOG_INFO("Could not load certificate and key for alias %s", alias);
result = __FAILURE__;
}
else if (load_status == LOAD_ERR_VERIFICATION_FAILED)
Expand Down