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

Fix Edge CA cert to create P-256 / RSA-4096 key pairs. #6601

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion edgelet/edgelet-http-workload/src/edge_ca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl cert_renewal::CertInterface for EdgeCaRenewal {
}

let key_handle = key_client
.create_key_pair_if_not_exists(&key_id, Some("rsa-2048:*"))
.create_key_pair_if_not_exists(&key_id, Some("ec-p256:rsa-4096:*"))
.await
.map_err(|_| {
cert_renewal::Error::retryable_error("failed to generate temp key")
Expand Down
2 changes: 1 addition & 1 deletion edgelet/edgelet-http-workload/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ where
let key_client = self.key_client.lock().await;

key_client
.create_key_pair_if_not_exists(&self.config.edge_ca_key, Some("rsa-2048:*"))
.create_key_pair_if_not_exists(&self.config.edge_ca_key, Some("ec-p256:rsa-4096:*"))
.await
.map_err(|err| err.to_string())?
};
Expand Down