mirror of
https://github.com/canokeys/canokey-nrf52.git
synced 2024-09-19 17:18:39 +08:00
5 lines
220 B
Bash
5 lines
220 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
openssl genrsa -out ca.key 2048
|
||
|
openssl req -config ./attestation-ca-cert.cnf -extensions ca_extensions_sec -x509 -days 7120 -new -key ca.key -nodes -out ca.pem
|
||
|
echo 01 >ca.srl # create the serial file
|