7 lines
225 B
Bash
7 lines
225 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
openssl req -new -sha256 -nodes -out Alice.csr -newkey rsa:2048 -keyout Alice.key -config Alice.cfg
|
||
|
openssl ca -batch -config myca.conf -extfile Alice.ext -notext -in Alice.csr -out Alice.crt
|
||
|
rm Alice.csr
|