added SSL cert generation mechanism