summaryrefslogtreecommitdiff
path: root/test/certs/README.md
blob: 3aab01440697652bfbac2209a8c1ddc9c80a55b9 (plain)
1
2
3
4
5
6
7
8
9
# How to generate key and cert:

## Make private key without a password

certtool --rsa --generate-privkey --null-password --outfile=domain.key

## Use ``domain.cfg`` template to make self-signed cert

certtool --generate-self-signed --load-privkey=domain.key --template=domain.cfg --outfile=domain.crt --load-ca-privkey=domain.key --null-password --no-text