add generateSelfSignedCert and set some permissions