Skip to content

Should allow control on whether default cert paths/files are included for verification #1525

@shinrich

Description

@shinrich

When creating the SSL_CTX for ATS initiating connections to origin, we always call SSL_CTX_set_default_verify_path which adds the default trusted root packages on the system. You can also set your own via settings, but the default case is also added.

For a reverse proxy, the default trusted root set is probably not desirable. You probably just want to verify that your origins are signed with your small set of trusted roots. Adding more trusted roots just allows for the possibility that you accept a cert signed by someone else entirely.

There are a couple options to fix this

  1. Add a new setting to ignore default trusted root
  2. Don't call SSL_CTX_set_default_verify_path if a CA file or CA directory is explicitly defined.
  3. The reverse proxy folks should just move the default trusted root files out of the way if they case (which is accidentally what we did).

No option is technically difficult, but probably worth a bit of discussion.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions