github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/test/certs/README.md (about) 1 # How to generate key and cert: 2 3 ## Make private key without a password 4 5 certtool --rsa --generate-privkey --null-password --outfile=domain.key 6 7 ## Use ``domain.cfg`` template to make self-signed cert 8 9 certtool --generate-self-signed --load-privkey=domain.key --template=domain.cfg --outfile=domain.crt --load-ca-privkey=domain.key --null-password --no-text