Generating Self Signed Certificate

Type “make cert” in the top directory, otherwise follow the steps below in this directory.

  1. create CA
$ /usr/lib/ssl/misc/CA.pl -newca
  1. generate a certificate request
$ /usr/lib/ssl/misc/CA.pl -newreq
  1. sign the request with the CA’s signature
$ /usr/lib/ssl/misc/CA.pl -signreq
  1. put them into server directory
$ mkdir server

$ mv newkey.pem server/server-key.pem

$ mv newcert.pem server/server-cert.pem

$ echo "your_paasword" > server/password

$ chmod 0400 server/*.pem server/password