Shell script to produce your own certificate authority