Is there anyway to specify basicConstraints for openssl cert via command line
<p>I'd like to include a <code>basicConstraints=CA:TRUE,pathlen:0</code> constraint in my self signed CA creation script and it would go a very long way to simplify my procedure if I didn't have to create a config file and all the folder structure of a proper CA.</p>

<p>I'm trying to create an intermediate cert that can only sign end certs, not further CAs. I will be using bouncycastle to sign all further certs, the folder structure I would need to create for a proper CA will not be used anyway.</p>