diff --git a/src/subscription_manager/cli_command/cli.py b/src/subscription_manager/cli_command/cli.py index 43916e1c63..5b65ac29c8 100644 --- a/src/subscription_manager/cli_command/cli.py +++ b/src/subscription_manager/cli_command/cli.py @@ -386,7 +386,7 @@ def main(self, args: Optional[List[str]] = None) -> Optional[int]: system_exit( os.EX_UNAVAILABLE, _("Unable to reach the server at {host}:{port}{handler}").format( - host=self.no_auth_cp.host, + host=connection.normalized_host(self.no_auth_cp.host), port=self.no_auth_cp.ssl_port, handler=self.no_auth_cp.handler, ),