generating ssl key added and privileges