working script for creating self signed root ca.