mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
Merge branch '2514-tls-cert-chain' into 'main'
Load full certificate chain from a certificate chain file Closes #2514 See merge request isc-projects/bind9!4792
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
|||||||
|
5600. [bug] Load a certificate chain file so that the full chain is
|
||||||
|
sent to DNS-over-TLS (DoT) and DNS-over-HTTPS (DoH)
|
||||||
|
clients that require full chain verification. [GL #2514]
|
||||||
|
|
||||||
5599. [bug] Fix a crash when transferring a zone over TLS,
|
5599. [bug] Fix a crash when transferring a zone over TLS,
|
||||||
after "named" previously skipped a master. [GL #2562]
|
after "named" previously skipped a master. [GL #2562]
|
||||||
|
|
||||||
|
@@ -311,8 +311,7 @@ isc_tlsctx_createserver(const char *keyfile, const char *certfile,
|
|||||||
EVP_PKEY_free(pkey);
|
EVP_PKEY_free(pkey);
|
||||||
BN_free(bn);
|
BN_free(bn);
|
||||||
} else {
|
} else {
|
||||||
rv = SSL_CTX_use_certificate_file(ctx, certfile,
|
rv = SSL_CTX_use_certificate_chain_file(ctx, certfile);
|
||||||
SSL_FILETYPE_PEM);
|
|
||||||
if (rv != 1) {
|
if (rv != 1) {
|
||||||
goto ssl_error;
|
goto ssl_error;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user