1# Copyright (c) 2024, Witekio 2# SPDX-License-Identifier: Apache-2.0 3 4# Generate a root CA private key 5openssl ecparam \ 6 -name prime256v1 \ 7 -genkey \ 8 -out ca_privkey.pem 9 10# Generate a root CA certificate using private key 11openssl req \ 12 -new \ 13 -x509 \ 14 -days 36500 \ 15 -key ca_privkey.pem \ 16 -out ca_cert.pem \ 17 -subj "/O=Zephyrproject/CN=Zephyrproject Sample Development CA" 18