I use following commands to create certificates and private keys:
./CA.pl -newca
./CA.pl -newreq-nodes
./CA.pl -signreq
And I set newcert.pem and newkey.pem as local certificate and private key to the server. demoCA/cacert.pem is public certificate for client applications. I'd like to know if this solution is good and safe. Or where I made a mistake if it's not ok