xref: /aosp_15_r20/external/libwebsockets/scripts/client-ca/create-ca.sh (revision 1c60b9aca93fdbc9b5f19b2d2194c91294b22281)
1#!/bin/sh
2
3openssl genrsa -out ca.key 2048 && \
4printf "\\n\\n\\n\\n\\n\\n\\n" | \
5openssl req -config tmp.cnf -x509 -new -nodes -key ca.key -sha256 -days 1024 -out ca.pem
6
7