Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / General

ssl

ssl

Wekan / General · January 21, 2020 at 8:30pm (Edited 4 years ago)

When you put wekan behind an elb with an ssl certificate everything works fine (everything really) until you click on the info hambuger in the middle of any wekan card. In Firefox it says Secure Connection Failed

An error occurred during a connection to xx.xx.xx.xx. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

and on chrome it says This site can’t provide a secure connection xx.xx.xx.xxsent an invalid response.

ERR_SSL_PROTOCOL_ERROR. Any idea how to remedy this? its something about date or something like this when you try and view the comments and labels or something (hard to know at this point. THanks

Just for grins I set a send path through the elb without the ssl and the info window pops up fine with all the details (member, assigned, due..... its something about that window encoding. Thanks

Load previous messages

March 7, 2020 at 7:35pm

only think I am scratching my head about is this statement:

    • reply
    • like

    "Specifying your own certificate and key disables automatic HTTPS, including the changing of the port and redirecting HTTP to HTTPS. You will need to do that yourself if you are managing your own certificates"

      Edited
      • reply
      • like

      what does that mean that I have to do in snap to change caddy around to make that work?

        • reply
        • like

        In /var/snap/wekan/common/certificates/wekan.team.pem one file I have 1. private key 2. cert

          • reply
          • like

          At /var/snap/wekan/common/Caddyfile I have

          http://boards.wekan.team https://boards.wekan.team {
          tls {
          load /var/snap/wekan/common/certificates
          alpn http/1.1
          }
          proxy / localhost:3001 {
          websocket
          transparent
          }
          }
            • reply
            • like

            This is when I use CloudFlare Origin SSL cert. But should work also with other cert.

              • reply
              • like

              Yeah doing that and its not working

                • reply
                • like

                This is using Wekan Snap

                  • reply
                  • like

                  LOGS?

                    • reply
                    • like

                    yup

                      • reply
                      • like

                      and then: sudo snap set wekan caddy-enabled='true'

                        • reply
                        • like

                        tried all that and the HTTPS is erroring and not the HTTP

                          • reply
                          • like

                          so if I could see the caddy logs maybe I could see a config error?

                            • reply
                            • like

                            sudo snap logs wekan.caddy

                              • reply
                              • like

                              do the certs and key file name matter?

                                • reply
                                • like

                                ok looking

                                  • reply
                                  • like

                                  wow that is a hint

                                    • reply
                                    • like

                                    error: snap "wekan" has no service "caddy"

                                      • reply
                                      • like

                                      its wekan.caddy?

                                        • reply
                                        • like

                                        or wekan wekan.caddy?

                                          • reply
                                          • like

                                          Anyway, full logs are at /var/log/syslog

                                            • reply
                                            • like

                                            sudo tail -1000 /var/log/syslog | less

                                              • reply
                                              • like

                                              Mar 7 19:49:40 ip-172-31-35-186 wekan.caddy[3205]: 2020/03/07 19:49:40 /var/snap/wekan/common/Caddyfile:24 - Error during parsing: Unable to load certificate and key files for 'http://devkanban.xxxxxxxx.com': tls: failed to find any PEM data in key input

                                                • reply
                                                • like