Send the full CA certificate chain if its included in the TLS certificate. (#59)
This commit is contained in:
parent
3d255a7e0b
commit
7fd453e43c
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue