github.com/AbhinandanKurakure/podman/v3@v3.4.10/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