diff --git a/CHANGELOG.md b/CHANGELOG.md index 1222214..b2f6bc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ ### v0.9.0 (unreleased) -N/A +#### Fixes + +- Fix not sending the complete certificate chain for TLS certificates + that include it. ### v0.8.2 (2021-03-21) diff --git a/jetforce/tls.py b/jetforce/tls.py index 641fa66..5cf8312 100644 --- a/jetforce/tls.py +++ b/jetforce/tls.py @@ -179,7 +179,7 @@ class GeminiCertificateOptions(CertificateOptions): ctx.set_options(self._options) ctx.set_mode(self._mode) - ctx.use_certificate_file(self.certfile) + ctx.use_certificate_chain_file(self.certfile) ctx.use_privatekey_file(self.keyfile or self.certfile) for extraCert in self.extraCertChain: ctx.add_extra_chain_cert(extraCert)