Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document when the vault pki role required setting require_cn=false #955

Open
wallrj opened this issue Apr 28, 2022 · 1 comment
Open

Document when the vault pki role required setting require_cn=false #955

wallrj opened this issue Apr 28, 2022 · 1 comment

Comments

@wallrj
Copy link
Member

wallrj commented Apr 28, 2022

I fixed this by setting require_cn=false in my vault pki role [also i recently updated to vault v1.10.0]:

vault write pki_int/roles/dc \
    allowed_domains=dc \
    allow_subdomains=true \
    require_cn=false \
    max_ttl=72h

Originally posted by @Nold360 in cert-manager/cert-manager#4965 (comment)

@abvijaykumar
Copy link

Hi I am getting the following error

"Vault failed to sign certificate: failed to sign certificate by vault: Error making API request. URL: POST http://vault.default:8200/v1/pki/sign/mysite-dot-com Code: 400. Errors: * subject alternate name mysite.com not allowed by this role"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants