I believe the opening parenthesis needs to be on the preceding line like this:

raise identity.IdentityConfigurationException(
       'Cannot enable ssl certificate auth via identity.ssl'