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:
Jeff Mitchell 2016-03-23 10:07:07 -04:00
commit 2cffc98962

View file

@ -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