[X] I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Domain names containing underscores cause SSL issues (especially on Python 3.11+)
Expected Behavior
dbt-snowflake (via snowflake-connector-python) successfully connects to any Snowflake account, regardless of domain name + Python version, by replacing underscores with hyphens
URLs that include underscores can sometimes cause issues for certain features, such as Okta SSO/SCIM. For this reason, Snowflake also supports a version of the account name that substitutes the hyphen character (-) in place of the underscore character.
A better resolution would be to make this fix within the Snowflake Python connector:
Is this a new bug in dbt-snowflake?
Current Behavior
Domain names containing underscores cause SSL issues (especially on Python 3.11+)
Expected Behavior
dbt-snowflake (via snowflake-connector-python) successfully connects to any Snowflake account, regardless of domain name + Python version, by replacing underscores with hyphens
Steps To Reproduce
Relevant log output
No response
Environment
Additional Context
https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name
A better resolution would be to make this fix within the Snowflake Python connector: