תקלה בחידוש תעודת SSL ב letsencrypt
-
אני מריץ את חידוש לדומיין ומקבל את השגיאה הזו
מישהו מכיר פיתרון?
An unexpected error occurred: UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128)תודה
-
@יוס אני לא מכיר את הכלי הנ"ל.
התו202aשעליו מתריע התוכנה הוא תו נסתר (https://unicode-table.com/en/202A) שמיועד לשלוט על כיוון הטקסט... אולי אתה מעתיק ומדביק משהו ובטעות מעתיק את התו הזה?@yossiz זה לא פעם ראשונה שאני מחדש את התעודה שם וזה מעולם לא קרה לי
יש דרך אחרת לחדש את זה ?
בכ"א יש משהו בלוג שאתה יכול לכוון אותי אליו2021-08-21 23:18:35,137:DEBUG:certbot._internal.error_handler:Encountered exception: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 70, in handle_authorizations resps = self.auth.perform(achalls) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 2511, in perform http_response = http_doer.perform() File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/http_01.py", line 78, in perform self.configurator.save("HTTP Challenge", True) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 389, in save self.save_notes, temporary=temporary) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/plugins/common.py", line 136, in add_to_checkpoint checkpoint_func(save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 139, in add_to_temp_checkpoint self.config.temp_checkpoint_dir, save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 182, in _add_to_checkpoint_dir op_fd.write('{0}\n'.format(filename)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) 2021-08-21 23:18:35,137:DEBUG:certbot._internal.error_handler:Calling registered functions 2021-08-21 23:18:35,137:INFO:certbot._internal.auth_handler:Cleaning up challenges 2021-08-21 23:18:35,626:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module> sys.exit(main()) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 15, in main return internal_main.main(cli_args) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 1357, in main return config.func(config, plugins) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 1102, in run certname, lineage) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 121, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 418, in obtain_and_enroll_certificate cert, chain, key, _ = self.obtain_certificate(domains) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 351, in obtain_certificate orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 398, in _get_order_and_authorizations authzr = self.auth_handler.handle_authorizations(orderr, best_effort) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 70, in handle_authorizations resps = self.auth.perform(achalls) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 2511, in perform http_response = http_doer.perform() File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/http_01.py", line 78, in perform self.configurator.save("HTTP Challenge", True) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 389, in save self.save_notes, temporary=temporary) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/plugins/common.py", line 136, in add_to_checkpoint checkpoint_func(save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 139, in add_to_temp_checkpoint self.config.temp_checkpoint_dir, save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 182, in _add_to_checkpoint_dir op_fd.write('{0}\n'.format(filename)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) 2021-08-21 23:18:35,627:ERROR:certbot._internal.log:An unexpected error occurred: 2021-08-21 23:18:35,627:ERROR:certbot._internal.log:UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) -
@yossiz זה לא פעם ראשונה שאני מחדש את התעודה שם וזה מעולם לא קרה לי
יש דרך אחרת לחדש את זה ?
בכ"א יש משהו בלוג שאתה יכול לכוון אותי אליו2021-08-21 23:18:35,137:DEBUG:certbot._internal.error_handler:Encountered exception: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 70, in handle_authorizations resps = self.auth.perform(achalls) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 2511, in perform http_response = http_doer.perform() File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/http_01.py", line 78, in perform self.configurator.save("HTTP Challenge", True) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 389, in save self.save_notes, temporary=temporary) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/plugins/common.py", line 136, in add_to_checkpoint checkpoint_func(save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 139, in add_to_temp_checkpoint self.config.temp_checkpoint_dir, save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 182, in _add_to_checkpoint_dir op_fd.write('{0}\n'.format(filename)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) 2021-08-21 23:18:35,137:DEBUG:certbot._internal.error_handler:Calling registered functions 2021-08-21 23:18:35,137:INFO:certbot._internal.auth_handler:Cleaning up challenges 2021-08-21 23:18:35,626:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module> sys.exit(main()) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 15, in main return internal_main.main(cli_args) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 1357, in main return config.func(config, plugins) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 1102, in run certname, lineage) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 121, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 418, in obtain_and_enroll_certificate cert, chain, key, _ = self.obtain_certificate(domains) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 351, in obtain_certificate orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py", line 398, in _get_order_and_authorizations authzr = self.auth_handler.handle_authorizations(orderr, best_effort) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 70, in handle_authorizations resps = self.auth.perform(achalls) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 2511, in perform http_response = http_doer.perform() File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/http_01.py", line 78, in perform self.configurator.save("HTTP Challenge", True) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py", line 389, in save self.save_notes, temporary=temporary) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/plugins/common.py", line 136, in add_to_checkpoint checkpoint_func(save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 139, in add_to_temp_checkpoint self.config.temp_checkpoint_dir, save_files, save_notes) File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/reverter.py", line 182, in _add_to_checkpoint_dir op_fd.write('{0}\n'.format(filename)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) 2021-08-21 23:18:35,627:ERROR:certbot._internal.log:An unexpected error occurred: 2021-08-21 23:18:35,627:ERROR:certbot._internal.log:UnicodeEncodeError: 'ascii' codec can't encode character u'\u202a' in position 47: ordinal not in range(128) -
@יוס מה הפלט של פקודה זו:
grep -r -P "[^\x00-\x7F]" /etc/apache2 grep -r -P "[^\x00-\x7F]" /etc/letsencrypt -
@yossiz תודה,
עריכה: הסתדר, זה כנראה בגלל שלוקח לתעודה חדשה בין כמה דקות עד כמה שעות להכנס לתוקף וכדו'תודה רבה
אכן התקנתי את הנ"ל
עם זהsudo certbot --apacheאבל אח"כ הרצתי חידוש אוטומטי
עם זהsudo certbot renew --dry-runזה חזר להיות לא מאובטח
זה התוצאה מההתקנה החוזרת
Congratulations! You have successfully enabled https://ipsales.co.il You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=ipsales.co.il - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/ipsales.co.il-0001/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/ipsales.co.il-0001/privkey.pem Your cert will expire on 2021-11-19. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the "certonly" option. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le You have new mail in /var/mail/root -
@yossiz תודה,
עריכה: הסתדר, זה כנראה בגלל שלוקח לתעודה חדשה בין כמה דקות עד כמה שעות להכנס לתוקף וכדו'תודה רבה
אכן התקנתי את הנ"ל
עם זהsudo certbot --apacheאבל אח"כ הרצתי חידוש אוטומטי
עם זהsudo certbot renew --dry-runזה חזר להיות לא מאובטח
זה התוצאה מההתקנה החוזרת
Congratulations! You have successfully enabled https://ipsales.co.il You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=ipsales.co.il - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/ipsales.co.il-0001/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/ipsales.co.il-0001/privkey.pem Your cert will expire on 2021-11-19. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the "certonly" option. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le You have new mail in /var/mail/root
שלום! נראה שהשיחה הזו מעניינת אותך, אבל עדיין אין לך חשבון.
נמאס לכם לגלול בין אותם הפוסטים בכל ביקור? כשנרשמים לחשבון, תמיד תחזרו בדיוק למקום שבו הייתם קודם, ותוכלו לבחור לקבל התראות על תגובות חדשות (בין אם במייל, ובין אם בהתראת פוש). תוכלו גם לשמור סימניות ולפרגן ב-upvote לפוסטים כדי להביע הערכה לחברי קהילה אחרים.
בעזרת התרומה שלך, הפוסט הזה יכול להיות אפילו טוב יותר 💗
הרשמה התחברות