shell script to create cert files