Skip to content

Instantly share code, notes, and snippets.

@oneman
Created April 24, 2024 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oneman/786d45dbda8510f3bc5b6b0486cc9548 to your computer and use it in GitHub Desktop.
Save oneman/786d45dbda8510f3bc5b6b0486cc9548 to your computer and use it in GitHub Desktop.
I am old and dumb asf someone hold my hand
[ec2-user@radcompany ~]$ sudo cat /tmp/certbot-log-8v__8onl/log
2024-04-24 10:11:12,490:DEBUG:certbot._internal.main:certbot version: 2.6.0
2024-04-24 10:11:12,490:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2024-04-24 10:11:12,490:DEBUG:certbot._internal.main:Arguments: ['-v', '-d', 'サイバー.tokyo']
2024-04-24 10:11:12,491:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2024-04-24 10:11:12,498:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/certbot/util.py", line 537, in enforce_domain_sanity
domain.encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/usr/lib/python3.9/site-packages/certbot/_internal/main.py", line 1846, in main
args = cli.prepare_and_parse_args(plugins, cli_args)
File "/usr/lib/python3.9/site-packages/certbot/_internal/cli/__init__.py", line 477, in prepare_and_parse_args
return helpful.parse_args()
File "/usr/lib/python3.9/site-packages/certbot/_internal/cli/helpful.py", line 184, in parse_args
parsed_args = self.parser.parse_args(self.args)
File "/usr/lib/python3.9/site-packages/configargparse.py", line 797, in parse_args
args, argv = self.parse_known_args(
File "/usr/lib/python3.9/site-packages/configargparse.py", line 979, in parse_known_args
namespace, unknown_args = argparse.ArgumentParser.parse_known_args(
File "/usr/lib64/python3.9/argparse.py", line 1858, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib64/python3.9/argparse.py", line 2067, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib64/python3.9/argparse.py", line 2007, in consume_optional
take_action(action, args, option_string)
File "/usr/lib64/python3.9/argparse.py", line 1935, in take_action
action(self, namespace, argument_values, option_string)
File "/usr/lib/python3.9/site-packages/certbot/_internal/cli/cli_utils.py", line 119, in __call__
add_domains(namespace, str(domain) if domain is not None else None)
File "/usr/lib/python3.9/site-packages/certbot/_internal/cli/cli_utils.py", line 143, in add_domains
domain = util.enforce_domain_sanity(domain.strip())
File "/usr/lib/python3.9/site-packages/certbot/util.py", line 539, in enforce_domain_sanity
raise errors.ConfigurationError("Non-ASCII domain names not supported. "
certbot.errors.ConfigurationError: Non-ASCII domain names not supported. To issue for an Internationalized Domain Name, use Punycode.
2024-04-24 10:11:12,498:ERROR:certbot._internal.log:Non-ASCII domain names not supported. To issue for an Internationalized Domain Name, use Punycode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment