Skip to content

Intermediate certificate #3

@dmail

Description

@dmail

A root certificate can generate certificate for any domain. If some code knows where to look at, it could reuse the root certificate to generate trusted certificate for a domain that you would not expect.

In this scenario code you don't own is executed on your machine. The code would do things more problematic than generating a trusted certificate to fool you somehow... For this reason this issue won't be a priority.

But in case, this is what could be done:

  1. Generate an intermediate certificate from the root certificate
  2. This intermediate certificate would be allowed to generate certificate for a subset of domains
  3. Remove the root certificate from the filesystem

To keep in mind: This module can be used by X project on 1 machine. In other words the intermediate certificate should be allowed to generate certificate for all projects. In this scenario it means project B wants to reuse intermediate CA from project A, in that case we could regen root CA to regen an intermediate CA allowed to generate certificates for both A and B.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions