UnicodeEncodeError: 'ascii' codec can't encode characters in position 1358-1361: ordinal not in range(128) Please see the logfiles in /var/log/letsencrypt for more details

Cleaning up challenges
An unexpected error occurred:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1358-1361: ordinal not in range(128)
Please see the logfiles in /var/log/letsencrypt for more details

solved:
vi /usr/bin/certbot

reload(sys)
sys.setdefaultencoding('utf-8')

3 Likes

Welcome to the Let's Encrypt Community :slightly_smiling_face:

Glad you got it resolved.

2 Likes

Many of the Unicode-related issues got fixed in recent versions (1.4.0+) of Certbot.

If you ran into this problem with a newer version, a copy of /var/log/letsencrypt/letsencrypt.log would be appreciated.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.