mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Merge pull request #1251 from hashicorp/remove-usecsrvalues-isca-check
Remove check for using CSR values with non-CA certificate.
This commit is contained in:
commit
2cffc98962
1 changed files with 0 additions and 4 deletions
|
|
@ -512,10 +512,6 @@ func signCert(b *backend,
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if useCSRValues && !isCA {
|
||||
return nil, certutil.UserError{Err: "cannot use CSR values with a non-CA certificate"}
|
||||
}
|
||||
|
||||
creationBundle.IsCA = isCA
|
||||
creationBundle.UseCSRValues = useCSRValues
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue