summaryrefslogtreecommitdiff
path: root/data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
blob: abaaa97af8c52d4930dc8cc0928afa60254f75db (plain)
1
2
3
4
5
6
7
8
9
10
11
# Secure Boot

## CA

Create Certificate Authority used for Kernel signing. CA is loaded into the
Machine Owner Key store on the target system.

```bash
openssl req -new -x509 -newkey rsa:4096 -keyout MOK.key -outform DER -out MOK.der -days 36500 -subj "/CN=VyOS Secure Boot CA/" -nodes
openssl x509 -inform der -in MOK.der -out MOK.pem
```