xref: /third_party/libwebsockets/scripts/client-ca/create-ca.sh (revision d4afb5ce)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libwebsockets/scripts/client-ca/
1d4afb5ceSopenharmony_ci#!/bin/sh
2d4afb5ceSopenharmony_ci
3d4afb5ceSopenharmony_ciopenssl genrsa -out ca.key 2048 && \
4d4afb5ceSopenharmony_ciprintf "\\n\\n\\n\\n\\n\\n\\n" | \
5d4afb5ceSopenharmony_ciopenssl req -config tmp.cnf -x509 -new -nodes -key ca.key -sha256 -days 1024 -out ca.pem
6d4afb5ceSopenharmony_ci
7

Indexes created Thu Nov 07 10:32:03 CST 2024