- 积分
- 165
- 威望
-
- 金钱
-
- 注册时间
- 2013-5-28
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
按https://www.vpser.net/build/letsencrypt-certbot.html
最后报错求如果解决
安装完提示
Cleaning up challenges
An unexpected error occurred:
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 194: ordinal not in range(128)
Please see the logfiles in /var/log/letsencrypt for more details.
IMPORTANT NOTES:
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
安装日志提示
2017-03-23 03:52:05,471:INFO:certbot.auth_handler:Cleaning up challenges
2017-03-23 03:52:05,471EBUG:certbot.plugins.webroot:Removing /data/www/i.tianqi.com/.well-known/acme-challenge/gyPR7j4bRKAKC8YMmJUm-OLd-uOeYC3cvXcjm2D_ng0
2017-03-23 03:52:05,472EBUG:certbot.plugins.webroot:Removing /data/www/i.tianqi.com/.well-known/acme-challenge/bK6eJeEdwv-G15-fguuzHAKHxPzgzB4nj55axwDQ6Xg
2017-03-23 03:52:05,474EBUG:certbot.plugins.webroot:All challenges cleaned up, removing /data/www/i.tianqi.com/.well-known/acme-challenge
2017-03-23 03:52:05,476EBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 896, in main
return config.func(config, plugins)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 692, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 92, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/client.py", line 294, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/client.py", line 265, in obtain_certificate
self.config.allow_subset_of_names)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 77, in get_authorizations
self._respond(resp, best_effort)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 134, in _respond
self._poll_challenges(chall_update, best_effort)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 197, in _poll_challenges
_report_failed_challs(all_failed_achalls)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 488, in _report_failed_challs
_generate_failed_chall_msg(achalls), reporter.MEDIUM_PRIORITY)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 504, in _generate_failed_chall_msg
if messages.is_acme_error(error):
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/acme/messages.py", line 39, in is_acme_error
return (ERROR_PREFIX in str(err)) or (OLD_ERROR_PREFIX in str(err))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 194: ordinal not in range(128) |
|