8000 Wilrdcard certs?Ac · Issue #60 · jsha/minica · GitHub
[go: up one dir, main page]

Skip to content

Wilrdcard certs?Ac #60

Open
Open

Description

@prologic

According to the README wildcard certs are supported.

But I've just tried this and Chrome (at least) gets an error:

NET::ERR_CERT_COMMON_NAME_INVALID
Subject: *.home.arpa
Issuer: minica root ca 44c4c0
Expires on: 2 May 2024
Current date: 2 Apr 2022

Similar errors appear in a Go project that uses minica here:

WARN[0030] error looking up user endpoint                error="error looking up user salty@home.arpa: https://home.arpa/.well-known/salty/salty.json: client.Do fail: Get \"https://home.arpa/.well-known/salty/salty.json\": x509: “*.home.arpa” certificate name does not match input"

What am I missing? I see a PR #45 that adds a -common flag to the cli but I'm not actually sure if this will help?

Activity

  1. michelbieleveld commented on Apr 15, 2022

    @michelbieleveld

    Not sure never used this tool was just checking it out, but normally *.home.arpa does not cover home.arpa, you would need to specify both in the request. Again not sure if possible here, but that would likely solve the problem.

  2. michelbieleveld commented on Apr 15, 2022

    @michelbieleveld

    Yes, supported like this

    minica --domains '*.foo.com,foo.com'

  3. prologic commented on Apr 15, 2022

    @prologic
    Author

    Yes, supported like this

    minica --domains '*.foo.com,foo.com'

    You are correct! This was just a bad invocation on my part 😆

  4. joegyoung commented on Jun 13, 2022

    @joegyoung

    I tried this ./minica --domains '*.home,home' for https://bitwarden.home/. It didn't match.
    I get NET::ERR_CERT_COMMON_NAME_INVALID
    Is there something I should do?

  5. goshander commented on Sep 10, 2022

    @goshander

    I tried this ./minica --domains '*.home,home' for https://bitwarden.home/. It didn't match. I get NET::ERR_CERT_COMMON_NAME_INVALID Is there something I should do?

    Same issue, minica does not support first level wildcard cert, you need use *.bitwarden.home,bitwarden.home as a domain arg

  6. DeyV commented on Sep 12, 2022

    @DeyV

    I see a PR #45 that adds a -common flag to the cli but I'm not actually sure if this will help

    Yes - it is exactly reason why this PR wait for merging ...

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0