We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3962a16 commit a81cf5bCopy full SHA for a81cf5b
crates/stackable-certs/src/ca/mod.rs
@@ -208,9 +208,8 @@ where
208
// We don't allow customization of the CA subject by callers. Every CA
209
// created by us should contain the same subject consisting a common set
210
// of distinguished names (DNs).
211
- let subject = Name::from_str(SDP_ROOT_CA_SUBJECT).context(ParseSubjectSnafu {
212
- subject: SDP_ROOT_CA_SUBJECT,
213
- })?;
+ let subject = Name::from_str(SDP_ROOT_CA_SUBJECT)
+ .expect("The SDP_ROOT_CA_SUBJECT must be a valid subject");
214
215
let spki_pem = signing_key_pair
216
.verifying_key()
0 commit comments