BetterCloud / vault-java-driver

Zero-dependency Java client for HashiCorp's Vault
https://bettercloud.github.io/vault-java-driver/
334 stars 224 forks source link

missing option exclude_cn_from_sans when requesting a signed certificate #244

Open darkedges opened 3 years ago

darkedges commented 3 years ago

I have discovered that when I use a CSR with a SubjecDN greater than 63 characters in length it throws the following

idna: invalid label "UID=f0486469-6aa7-4a93-8cc2-3e64f30e1789,CN=Nicholas Peter Irving"

I have raised an issue https://github.com/hashicorp/vault/issues/11721 to get this looked at, how I have noticed that i can disabled this check through the UI by using the Sign Verbatim option.

This adds an additional parameter in the request to /sign

    exclude_cn_from_sans: false

Is this something that looks like we can add?