Moved cert generation script to a separate file