add generateSelfSignedCert and set some permissions
add generateSelfSignedCert and set some permissions