Let’s encrypt 遇到 ‘ascii’ codec can’t decode byte 0xe5 的解法

You are here:
  • Main
  • Linux
  • 設定
  • Let's encrypt 遇到 'ascii' codec can't decode byte 0xe5 的解法
< All Topics

Let’s encrpyt 更新憑證的時候,跳出以下錯誤訊息:

Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: ‘ascii’ codec can’t decode byte 0xe5 in position 2: ordinal not in range(128). Skipping.


  1. $ sudo grep -r -P ‘[^\x00-\x7f]’ /etc/apache2 /etc/letsencrypt /etc/nginx
  2. 將看到的內容,進去檔案刪除
  3. 刪除這些編碼後,重新執行 certbot 就可以通過囉~
Previous CentOS 更新 OpenSSL 到最新版 1.1.0
Next PHP-FPM 效能調校 on CentOS 7
Table of Contents