Skip to content

Commit

Permalink
Fix subject name in generated certs
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanchester committed Oct 7, 2019
1 parent 359e4c1 commit 6371211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dist/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ mod server {

let mut name = openssl::x509::X509Name::builder()?;
name.append_entry_by_nid(openssl::nid::Nid::COMMONNAME,
"sccache-internal")?;
&addr.to_string())?;
let name = name.build();

builder.set_subject_name(&name)
Expand Down

0 comments on commit 6371211

Please sign in to comment.