Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): accept combined certificate files
Openssl::with_cert_and_key is often useless in its current form: in most setups, one need to provide the intermediate certificate chain to Openssl. One way would be to change with_cert_and_key to allow passing a third file containing the authority chain. Fortunately, thers is another option: Openssl accepts combined certificates (your certs, then whatever certs you need to link it to the widely distributed ones). This is not exotic, both nginx and apache use this setup.
- Loading branch information