mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd:Ⓜ️ Print less of the cert to the info log on init.
This commit is contained in:
parent
638843ade1
commit
8d59fab2dc
1 changed files with 4 additions and 2 deletions
|
@ -111,11 +111,13 @@ ircd::m::keys::init::certificate()
|
||||||
b64encode_unpadded(hash)
|
b64encode_unpadded(hash)
|
||||||
};
|
};
|
||||||
|
|
||||||
log.info("Certificate `%s' (PEM: %zu bytes; DER: %zu bytes) sha256b64: %s",
|
static char print_buf[8_KiB];
|
||||||
|
log.info("Certificate `%s' (PEM: %zu bytes; DER: %zu bytes) sha256b64: %s :%s",
|
||||||
cert_file,
|
cert_file,
|
||||||
cert_pem.size(),
|
cert_pem.size(),
|
||||||
ircd::size(cert_der),
|
ircd::size(cert_der),
|
||||||
self::tls_cert_der_sha256_b64);
|
self::tls_cert_der_sha256_b64,
|
||||||
|
openssl::print_subject(print_buf, cert_pem));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue