Skip to content

Run mkcert -install on every workspace start in all templates #214

Description

@rfay

The DDEV mkcert root needs to be trusted in each workspace after it starts. This is especially important for templates with an ephemeral system trust store: a workspace restart can leave https://<project>.ddev.site untrusted even though the mkcert CA itself persists.

Please have every template run mkcert -install as the workspace user during its startup path. The operation is idempotent, so it is safe to run on every start and does not need a DDEV project to exist yet.

Acceptance criteria:

  • A fresh workspace trusts the DDEV local CA before its first ddev start.
  • After a workspace restart, the CA is trusted again without a manual terminal step.
  • This applies consistently to every maintained template.

Related historical issues: #58 and #193.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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