You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi there! We have a PKI backend where devs can issue themselves certificates. For every dev, the common name is enforced to be the email address. The setup has worked up to (including) Vault 1.7.3. See below for all the details. It stopped working in Vault 1.8.1 (see below for error message).
I could not find anything in the release notes related to this.
$ vault write "pki-vpn-eng-2020/issue/a9c56069-8de5-4284-b8c5-322ac89608d0" "[email protected]"
Error writing data to pki-vpn-eng-2020/issue/a9c56069-8de5-4284-b8c5-322ac89608d0: Error making API request.
URL: PUT https://vault.example.net/v1/pki-vpn-eng-2020/issue/a9c56069-8de5-4284-b8c5-322ac89608d0
Code: 400. Errors:
* common name [email protected] not allowed by this role
Expected behavior
A certificate should have been issued (worked with same config in Vault 1.73).
Note specifically that the role has enforce_hostnames set to false.
Environment:
Vault Server Version 1.7.3
Vault CLI Version 1.7.3
Server Operating System/Architecture: Linux amd64 (client and server)
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi there! We have a PKI backend where devs can issue themselves certificates. For every dev, the common name is enforced to be the email address. The setup has worked up to (including) Vault 1.7.3. See below for all the details. It stopped working in Vault 1.8.1 (see below for error message).
I could not find anything in the release notes related to this.
To Reproduce
Steps to reproduce the behavior:
PKI role configuration:
Trying to issue cert:
Expected behavior
A certificate should have been issued (worked with same config in Vault 1.73).
Note specifically that the role has
enforce_hostnames
set tofalse
.Environment:
The text was updated successfully, but these errors were encountered: