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 8:48pm

thanks

    • reply
    • like

    Maybe in Caddyfile it complains about http address, if it should have only https address

      • reply
      • like

      When using Let's encrypt it's only domain like example.com , without http and https

        • reply
        • like

        In cloudflare I have http https , to specify them separately

          • reply
          • like

          in cert file 1. private key 2. cert . There should be no space between them.

            • reply
            • like

            it seems to work for me at https://releases.wekan.team/

              • reply
              • like

              I use CloudFlare page rules to redirect to https. SSL/TLS Full (Strict)

                • reply
                • like

                DNS Proxied - orange cloud icon

                  • reply
                  • like

                  Page Rules:

                    • reply
                    • like

                    http://wekan.team/* Always Use HTTPS On

                    Off 2 http://.wekan.team/ Always Use HTTPS

                      • reply
                      • like

                      I mean:

                      http://wekan.team/*
                      Always Use HTTPS
                      http://*.wekan.team/*
                      Always Use HTTPS
                        • reply
                        • like

                        Validata Caddyfile:

                        sudo su
                        cd /var/snap/wekan/common
                        /snap/wekan/current/bin/caddy -validate
                          • reply
                          • like

                          validate

                            • reply
                            • like

                            then it shows are there errors

                              • reply
                              • like

                              When Caddyfile is valid, do:

                              sudo snap stop wekan
                              sudo snap start wekan
                                • reply
                                • like

                                March 7, 2020 at 11:24pm

                                Error during parsing: /var/snap/wekan/common/certs/cert.pem: no private key block found

                                  • reply
                                  • like

                                  tried two files and one file

                                    • reply
                                    • like

                                    with the load statement it never finds the private info

                                      • reply
                                      • like

                                      I will go back to naming the files in the Caddyfile config I guess

                                        • reply
                                        • like

                                        thanks for the validate line its at least making it clear what it does not like

                                          • reply
                                          • like

                                          :)

                                            • reply
                                            • like
                                            -----BEGIN PRIVATE KEY-----
                                            something here
                                            -----END PRIVATE KEY-----
                                            -----BEGIN CERTIFICATE-----
                                            something here
                                            -----END CERTIFICATE-----
                                              • reply
                                              • like

                                              That works for me

                                                • reply
                                                • like