github.com/criteo-forks/consul@v1.4.5-criteonogrpc/test/hostname/generate.sh (about) 1 #!/bin/bash 2 set -e 3 4 openssl req -new -sha256 -nodes -out Alice.csr -newkey rsa:2048 -keyout Alice.key -config Alice.cfg 5 openssl ca -batch -config myca.conf -extfile Alice.ext -notext -in Alice.csr -out Alice.crt 6 rm Alice.csr