Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

A Tool to generate a simple CA for RAUC.

License

Notifications You must be signed in to change notification settings

superbox-dev/rauc-certificate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAUC Simple CA

A Tool to generate a simple CA for RAUC.

Arguments

Argument Description
--build-root-ca [ORG] [CA] Build root CA and directory structure for certificates
--create-signing-key [CN] Create code signing key

Usage

First generate a root CA and the directory structure for certifcates with:

$ ./openssl-ca.sh --build-root-ca "Example CA" "RAUC CA"

Copy openssl-ca/root/ca.cert.pem to /etc/rauc/keyring.pem.

Generate a new siging key with:

$ ./openssl-ca.sh --create-signing-key "Common Name"

Use openssl-ca/mh.cert.pem and openssl-ca/private/mh.key.pem for creating RAUC bundles.