summaryrefslogtreecommitdiffstats
path: root/tools/key-gen.sh
blob: 14957d48f15eee379e09a38b84eb11412ef04b89 (plain)
1
2
3
4
5
#!/bin/sh
openssl req -x509 -newkey rsa:4096 \
	-keyout key.pem -out cert.pem \
	-sha256 -days 3650 -nodes \
	-subj "/C=XX/ST=TEST/L=TEST/O=TEST/OU=TEST/CN=TEST"