Set issuer on self-signed certs
This commit is contained in:
parent
3f7624190b
commit
27ebc2fac9
@ -35,6 +35,10 @@ impl Certificate {
|
|||||||
.set_subject_name(&name)
|
.set_subject_name(&name)
|
||||||
.or_unexpected_while("setting subject name")?;
|
.or_unexpected_while("setting subject name")?;
|
||||||
|
|
||||||
|
builder
|
||||||
|
.set_issuer_name(&name)
|
||||||
|
.or_unexpected_while("setting subject name")?;
|
||||||
|
|
||||||
// 1970/01/01
|
// 1970/01/01
|
||||||
let not_before = Asn1Time::from_unix(0).expect("initializing not_before");
|
let not_before = Asn1Time::from_unix(0).expect("initializing not_before");
|
||||||
builder
|
builder
|
||||||
|
Loading…
Reference in New Issue
Block a user