Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Help with SSL Cloudflare

Help with SSL Cloudflare

Scheduled Pinned Locked Moved Selfhosted
24 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cutebc24@piefed.socialC [email protected]

    So, I tried linking my Lemmy instance akaris.space but it says the ssl handshake failed and i can't seem to figure out what went wrong.

    3dcadmin@lemmy.relayeasy.com3 This user is from outside of this forum
    3dcadmin@lemmy.relayeasy.com3 This user is from outside of this forum
    [email protected]
    wrote last edited by
    #4

    How are you using Cloudflare, and what are you serving the lemmy instance on? I'm guessing it is due to the ssl mode chosen as said before

    3dcadmin@lemmy.relayeasy.com3 cutebc24@piefed.socialC 2 Replies Last reply
    1
    • 3dcadmin@lemmy.relayeasy.com3 [email protected]

      How are you using Cloudflare, and what are you serving the lemmy instance on? I'm guessing it is due to the ssl mode chosen as said before

      3dcadmin@lemmy.relayeasy.com3 This user is from outside of this forum
      3dcadmin@lemmy.relayeasy.com3 This user is from outside of this forum
      [email protected]
      wrote last edited by
      #5

      You want to use flexible ssl/tls for starters, doubtful it will work otherwise. Log in to cloudflare, choose domain, then SSL/TLS and see if encryption is set to flexible. See what that gets you, though it can take 15 mins for effects to show up. As long as the server can be reached cloudflare will try and match a certificate so lemmy gets served, as long as the server is set up correctly and the ports etc. are correctly forwarded and open

      1 Reply Last reply
      1
      • 3dcadmin@lemmy.relayeasy.com3 [email protected]

        How are you using Cloudflare, and what are you serving the lemmy instance on? I'm guessing it is due to the ssl mode chosen as said before

        cutebc24@piefed.socialC This user is from outside of this forum
        cutebc24@piefed.socialC This user is from outside of this forum
        [email protected]
        wrote last edited by
        #6

        I'm using it to set a tunnel, and lemmy instance is yunohost. since my domain is on porkbun, it says now "parked on the bun"

        1 Reply Last reply
        0
        • R [email protected]

          https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/ you could use a less strict mode here

          cutebc24@piefed.socialC This user is from outside of this forum
          cutebc24@piefed.socialC This user is from outside of this forum
          [email protected]
          wrote last edited by
          #7

          I have, thanks, now it shows "parked on the bun"

          R 1 Reply Last reply
          0
          • cutebc24@piefed.socialC [email protected]

            So, I tried linking my Lemmy instance akaris.space but it says the ssl handshake failed and i can't seem to figure out what went wrong.

            jacksquat@what.forfi.winJ This user is from outside of this forum
            jacksquat@what.forfi.winJ This user is from outside of this forum
            [email protected]
            wrote last edited by [email protected]
            #8

            Set the SSL mode to "Full".
            Then go to "Rules" and create three rules. This is also the order in which they should be processed:

            1.
            Name: lemmy u all
            Custom filter expression: URI path equals /u/*
            All other options disabled.
            
            2.
            Name: lemmy nodeinfo all
            Custom filter expression: URI path equals /nodeinfo/*
            All other options disabled.
            
            3.
            Name: lemmy inbox all
            Custom filter expression: URI path equals /inbox/*
            All other options disabled.
            

            This should get your instance running behind Cloudflare's tunnel.

            *edited for formatting

            cutebc24@piefed.socialC 1 Reply Last reply
            1
            • jacksquat@what.forfi.winJ [email protected]

              Set the SSL mode to "Full".
              Then go to "Rules" and create three rules. This is also the order in which they should be processed:

              1.
              Name: lemmy u all
              Custom filter expression: URI path equals /u/*
              All other options disabled.
              
              2.
              Name: lemmy nodeinfo all
              Custom filter expression: URI path equals /nodeinfo/*
              All other options disabled.
              
              3.
              Name: lemmy inbox all
              Custom filter expression: URI path equals /inbox/*
              All other options disabled.
              

              This should get your instance running behind Cloudflare's tunnel.

              *edited for formatting

              cutebc24@piefed.socialC This user is from outside of this forum
              cutebc24@piefed.socialC This user is from outside of this forum
              [email protected]
              wrote last edited by
              #9

              What do I put for "rule type" on Cloudflare? ex: redriect or route request, transform request/response, modify configurations

              jacksquat@what.forfi.winJ 1 Reply Last reply
              0
              • cutebc24@piefed.socialC [email protected]

                What do I put for "rule type" on Cloudflare? ex: redriect or route request, transform request/response, modify configurations

                jacksquat@what.forfi.winJ This user is from outside of this forum
                jacksquat@what.forfi.winJ This user is from outside of this forum
                [email protected]
                wrote last edited by
                #10

                Oops sorry about that, you want them all as configuration rules

                cutebc24@piefed.socialC 1 Reply Last reply
                1
                • cutebc24@piefed.socialC [email protected]

                  I have, thanks, now it shows "parked on the bun"

                  R This user is from outside of this forum
                  R This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #11

                  What is porkbun, your hosting provider?

                  cutebc24@piefed.socialC 1 Reply Last reply
                  1
                  • R [email protected]

                    What is porkbun, your hosting provider?

                    cutebc24@piefed.socialC This user is from outside of this forum
                    cutebc24@piefed.socialC This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #12

                    The site I bought the domain at :3

                    R 1 Reply Last reply
                    0
                    • jacksquat@what.forfi.winJ [email protected]

                      Oops sorry about that, you want them all as configuration rules

                      cutebc24@piefed.socialC This user is from outside of this forum
                      cutebc24@piefed.socialC This user is from outside of this forum
                      [email protected]
                      wrote last edited by [email protected]
                      #13

                      Thanks

                      jacksquat@what.forfi.winJ 1 Reply Last reply
                      0
                      • cutebc24@piefed.socialC [email protected]

                        Thanks

                        jacksquat@what.forfi.winJ This user is from outside of this forum
                        jacksquat@what.forfi.winJ This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #14

                        Hope it helped!

                        cutebc24@piefed.socialC 2 Replies Last reply
                        1
                        • jacksquat@what.forfi.winJ [email protected]

                          Hope it helped!

                          cutebc24@piefed.socialC This user is from outside of this forum
                          cutebc24@piefed.socialC This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #15

                          what action do i put, i put ssl, idk

                          jacksquat@what.forfi.winJ 1 Reply Last reply
                          0
                          • jacksquat@what.forfi.winJ [email protected]

                            Hope it helped!

                            cutebc24@piefed.socialC This user is from outside of this forum
                            cutebc24@piefed.socialC This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #16

                            but maybe not because it still says the handshake failed

                            1 Reply Last reply
                            0
                            • cutebc24@piefed.socialC [email protected]

                              what action do i put, i put ssl, idk

                              jacksquat@what.forfi.winJ This user is from outside of this forum
                              jacksquat@what.forfi.winJ This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #17

                              I've left all of the actions off

                              cutebc24@piefed.socialC 2 Replies Last reply
                              1
                              • jacksquat@what.forfi.winJ [email protected]

                                I've left all of the actions off

                                cutebc24@piefed.socialC This user is from outside of this forum
                                cutebc24@piefed.socialC This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #18

                                oh, how do u do that? it says i must have an action

                                jacksquat@what.forfi.winJ 1 Reply Last reply
                                0
                                • jacksquat@what.forfi.winJ [email protected]

                                  I've left all of the actions off

                                  cutebc24@piefed.socialC This user is from outside of this forum
                                  cutebc24@piefed.socialC This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #19

                                  action parameters are required for the set_config action

                                  1 Reply Last reply
                                  0
                                  • cutebc24@piefed.socialC [email protected]

                                    oh, how do u do that? it says i must have an action

                                    jacksquat@what.forfi.winJ This user is from outside of this forum
                                    jacksquat@what.forfi.winJ This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #20

                                    So sorry, it's been a while....
                                    Add the following actions:

                                    1. Browser integrity check (Then turn off)
                                    2. Disable RUM
                                    3. Disable Zaraz
                                    4. Email Obfuscation (Then turn off)
                                    5. Fonts (Then turn off)
                                    6. Hotlink Protection (Then turn off)
                                    7. Opportunistic Encryption (Then turn off)
                                    8. Rocket Loader (Then turn off)
                                    cutebc24@piefed.socialC 1 Reply Last reply
                                    1
                                    • jacksquat@what.forfi.winJ [email protected]

                                      So sorry, it's been a while....
                                      Add the following actions:

                                      1. Browser integrity check (Then turn off)
                                      2. Disable RUM
                                      3. Disable Zaraz
                                      4. Email Obfuscation (Then turn off)
                                      5. Fonts (Then turn off)
                                      6. Hotlink Protection (Then turn off)
                                      7. Opportunistic Encryption (Then turn off)
                                      8. Rocket Loader (Then turn off)
                                      cutebc24@piefed.socialC This user is from outside of this forum
                                      cutebc24@piefed.socialC This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #21

                                      Thanks so much!! This will totally help me and I'll tell u the results

                                      cutebc24@piefed.socialC 1 Reply Last reply
                                      0
                                      • cutebc24@piefed.socialC [email protected]

                                        Thanks so much!! This will totally help me and I'll tell u the results

                                        cutebc24@piefed.socialC This user is from outside of this forum
                                        cutebc24@piefed.socialC This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by [email protected]
                                        #22

                                        the domain says parked

                                        1 Reply Last reply
                                        0
                                        • cutebc24@piefed.socialC [email protected]

                                          The site I bought the domain at :3

                                          R This user is from outside of this forum
                                          R This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #23

                                          I think you pointed Cloudflare DNS records at the wrong thing. You can PM me if you're afraid to post details here but you should point Cloudflare at your hosting provider, or your home IP if you're hosting at home, not the place where you bought the domain.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups