$ tport_rand tls_seed.dat
$ make_root_cert.pl \
-cn <root common name>\
-dns <comma separated list of root dns names>\
[-prefix <prefix for the generated files> (default root)]\
[-rand <random seed file> (default tls_seed.dat)]
This command will generate files <prefix>key.pem (root private key),
<prefix>cert.pem (root certificate) and <prefix>.pem (combination
of the key and the certificate). The latter file will be used to sign the node certificates.
$ make_node_cert.pl \
-cn <node common name>\
-dns <comma separated list of node dns names>\
[-ca <cafile> (default root.pem)]\
[-prefix <prefix for the generated files> (default agent)]\
[-rand <random seed file> (default tls_seed.dat)]
This command will generate files <prefix>key.pem (node private key),
<prefix>cert.pem (node certificate) and <prefix>.pem (combination
of the key and the certificate). The certificate has been signed with ca certificate
contained in <cafile>.
Note that files agent.pem and tls_seed.dat must be kept secret to ensure secure connection