Closed Asuza closed 6 years ago
I also got the same issue, workaround is to run first command with no -config option and enter all the required details on the screen
`
openssl req -new -sha256 -nodes -out server.csr -newkey rsa:2048 -keyout server.key openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500 -sha256 -extfile v3.ext `
it's because sh
is an old shell, which doesn't seems to support Process Substitution, <() . You can do either:
bash createSelfSigned.sh
, zsh createSelfSigned.sh
chmod u+x createSelfSigned.sh
and execute it directly from your current modern shell-config server.csr.cnf
@Asuza @kishoretulsiani This should be fixed in #3 😄
Thanks @adoussot 🎉
Thanks for the guide and repo!
When running
sh createSelfSigned.sh
, I get the following error:After tweaking the script to remove the parens and redirect, it works, and looks like this:
My openssl version is 1.0.2g, running on Ubuntu Linux 17.10.