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 5:01pm

thanks

    • reply
    • like

    March 7, 2020 at 6:43pm

    ok I tried using the bundled Pem and also the bundled CRT files as cert.XXX and then added the key file and used the locate all certs and keys by location method nogo. I noticed when I reset root for wekan I have to include the protocol and the port address and when you click on a card you still get the security message as the protocol for wekan root is HTTPS.

      • reply
      • like

      the error is the same PR_END_OF_FILE_ERROR (for firefox) getting the same behavior out of chrome BTW.

        • reply
        • like

        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