Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
7 lines
173 B
Bash
Executable File
7 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
openssl genrsa -out ca.key 2048 && \
|
|
printf "\\n\\n\\n\\n\\n\\n\\n" | \
|
|
openssl req -config tmp.cnf -x509 -new -nodes -key ca.key -sha256 -days 1024 -out ca.pem
|
|
|