Initial version of ssl key generation