דילוג לתוכן
  • דף הבית
  • קטגוריות
  • פוסטים אחרונים
  • משתמשים
  • חיפוש
  • חוקי הפורום
כיווץ
תחומים

תחומים - פורום חרדי מקצועי

💡 רוצה לזכור קריאת שמע בזמן? לחץ כאן!
  1. דף הבית
  2. תכנות
  3. תקלה בחידוש תעודת SSL ב letsencrypt

תקלה בחידוש תעודת SSL ב letsencrypt

מתוזמן נעוץ נעול הועבר תכנות
12 פוסטים 3 כותבים 199 צפיות
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • י מנותק
    י מנותק
    יוס
    השיב לyossiz ב נערך לאחרונה על ידי
    #3

    @yossiz תודה על התגובה (זה ממש דחוף לי)
    אני משתמש עם זה (בלינוקס)

    ./letsencrypt-auto
    

    ואז מאשר

    מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
    שיגור הודעות במחירים המשתלמים ביותר
    לפתיחת מערכת https://app.ipsales.co.il/

    yossizY תגובה 1 תגובה אחרונה
    0
    • yossizY מנותק
      yossizY מנותק
      yossiz
      השיב ליוס ב נערך לאחרונה על ידי
      #4

      @יוס אני לא מכיר את הכלי הנ"ל.
      התו 202a שעליו מתריע התוכנה הוא תו נסתר (https://unicode-table.com/en/202A) שמיועד לשלוט על כיוון הטקסט... אולי אתה מעתיק ומדביק משהו ובטעות מעתיק את התו הזה?

      📧 יוסי@מייל.קום | 🌎 בלוג | ☕ קפה

      י תגובה 1 תגובה אחרונה
      1
      • י מנותק
        י מנותק
        יוס
        השיב לyossiz ב נערך לאחרונה על ידי
        #5

        @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)
        
        

        מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
        שיגור הודעות במחירים המשתלמים ביותר
        לפתיחת מערכת https://app.ipsales.co.il/

        yossizY תגובה 1 תגובה אחרונה
        0
        • yossizY מנותק
          yossizY מנותק
          yossiz
          השיב ליוס ב נערך לאחרונה על ידי
          #6

          @יוס מה הפלט של פקודה זו:

          grep -r -P "[^\x00-\x7F]" /etc/apache2
          grep -r -P "[^\x00-\x7F]" /etc/letsencrypt
          

          📧 יוסי@מייל.קום | 🌎 בלוג | ☕ קפה

          י תגובה 1 תגובה אחרונה
          1
          • י מנותק
            י מנותק
            יוס
            השיב לyossiz ב נערך לאחרונה על ידי
            #7

            @yossiz שניהם לא מחזירים כלום

            מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
            שיגור הודעות במחירים המשתלמים ביותר
            לפתיחת מערכת https://app.ipsales.co.il/

            yossizY תגובה 1 תגובה אחרונה
            1
            • A מנותק
              A מנותק
              aaron
              כתב ב נערך לאחרונה על ידי
              #8

              תמיד זה עבד לך?
              לכאורה יש מצב גדול שקשור לזה שזה רץ על פיתון 2

              aaron.tchumim@gmail.com
              Hetzner - שרתים וירטואליים ופיזיים במחירים מעולים (קישור שותפים)

              ווצאפ API - תיעוד שירות API לא רשמי.

              י תגובה 1 תגובה אחרונה
              1
              • yossizY מנותק
                yossizY מנותק
                yossiz
                השיב ליוס ב נערך לאחרונה על ידי
                #9

                @יוס אם כן אני לא יודע איפה עוד לחפש את התו הזה.

                אפשר לנסות משהו אחר. נראה שאתה לא משתמש בגירסה הרגילה של certbot. תתקין את הגירסה האחרונה לפי ההוראות פה ותשתמש בו.

                📧 יוסי@מייל.קום | 🌎 בלוג | ☕ קפה

                י תגובה 1 תגובה אחרונה
                1
                • י מנותק
                  י מנותק
                  יוס
                  השיב לaaron ב נערך לאחרונה על ידי
                  #10

                  @aaron אז לשדרג את הגירסה?
                  מה אני צריך לעשות

                  מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
                  שיגור הודעות במחירים המשתלמים ביותר
                  לפתיחת מערכת https://app.ipsales.co.il/

                  תגובה 1 תגובה אחרונה
                  0
                  • י מנותק
                    י מנותק
                    יוס
                    השיב לyossiz ב נערך לאחרונה על ידי יוס
                    #11

                    @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
                    

                    מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
                    שיגור הודעות במחירים המשתלמים ביותר
                    לפתיחת מערכת https://app.ipsales.co.il/

                    י תגובה 1 תגובה אחרונה
                    1
                    • י מנותק
                      י מנותק
                      יוס
                      השיב ליוס ב נערך לאחרונה על ידי
                      #12

                      ערכתי את ההודעה האחרונה

                      מערכת מכירות בכל ערוצי המכירה, טלפון-מייל-ואתר
                      שיגור הודעות במחירים המשתלמים ביותר
                      לפתיחת מערכת https://app.ipsales.co.il/

                      תגובה 1 תגובה אחרונה
                      1

                      בא תתחבר לדף היומי!
                      • התחברות

                      • אין לך חשבון עדיין? הרשמה

                      • התחברו או הירשמו כדי לחפש.
                      • פוסט ראשון
                        פוסט אחרון
                      0
                      • דף הבית
                      • קטגוריות
                      • פוסטים אחרונים
                      • משתמשים
                      • חיפוש
                      • חוקי הפורום