ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    MeshCentral2 Let's Encrypt cert not created

    IT Discussion
    4
    27
    1.1k
    Loading More Posts
    • 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.
    • scottalanmillerS
      scottalanmiller @alesribic
      last edited by

      @alesribic said in MeshCentral2 Let's Encrypt cert not created:

      In the UserManual section 11 it describes exactly what i need. No traces of reverse proxy.

      Did your test come back successful? Production will only work if the test says it would have first.

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        I misread, in the documentation it says this

        Note that MeshCentral does not currently support placing a Let’s Encrypt certificate in the
        database. Generally, one would use a reverse proxy with Let’s Encrypt support and TLS
        offload in the reverse proxy and then run MeshCentral in state-less mode in a Docket
        container.
        

        But that LE is actually supported. Ignore me.

        1 Reply Last reply Reply Quote 0
        • A
          alesribic
          last edited by

          No, test was also not successful. I was looking for any LOG, but i could not find any

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @alesribic
            last edited by

            @alesribic said in MeshCentral2 Let's Encrypt cert not created:

            No, test was also not successful. I was looking for any LOG, but i could not find any

            Ah, okay. Well at least we have a starting point. Does it say anything useful, or just that it fails? The test is basically instant, so no need to wait.

            1 Reply Last reply Reply Quote 0
            • A
              alesribic
              last edited by alesribic

              Nothing. It is like before i set LE settings. No errors, no signs. Is there any LOG about LE?
              I can see meshcentral-events database to grow, but where can i see those events?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @alesribic
                last edited by

                @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                Nothing. It is like before i set LE settings. No errors, no signs. Is there any LOG about LE?
                I can see meshcentral-events database to grow, but where can i see those events?

                Pretty sure that messages for that go into your nohup file.

                1 Reply Last reply Reply Quote 0
                • A
                  alesribic
                  last edited by

                  no such file in any directory. File "meshcentral-events" is growing with service restart to 350kB, but how to browse it?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @alesribic
                    last edited by

                    @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                    no such file in any directory. File "meshcentral-events" is growing with service restart to 350kB, but how to browse it?

                    How are you kicking off the process to run MeshCentral?

                    1 Reply Last reply Reply Quote 0
                    • A
                      alesribic
                      last edited by

                      I have windows installation. If restart is needed, i restart service inside services panel.
                      This is from event viewer:
                      Starting C:\Program Files\nodejs\node.exe --harmony "C:\Program Files\Open Source\MeshCentral\node_modules\node-windows\lib\wrapper.js" --file "C:\Program Files\Open Source\MeshCentral\winservice\winservice.js" --log "MeshCentral wrapper" --grow 0.5 --wait 2 --maxrestarts 3 --abortonerror n --stopparentfirst undefined

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @alesribic
                        last edited by

                        @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                        I have windows installation. If restart is needed, i restart service inside services panel.
                        This is from event viewer:
                        Starting C:\Program Files\nodejs\node.exe --harmony "C:\Program Files\Open Source\MeshCentral\node_modules\node-windows\lib\wrapper.js" --file "C:\Program Files\Open Source\MeshCentral\winservice\winservice.js" --log "MeshCentral wrapper" --grow 0.5 --wait 2 --maxrestarts 3 --abortonerror n --stopparentfirst undefined

                        OH! I bet it is because it is Windows. Absolutely no idea how that will work on Windows. I don't think that Lets Encrypt's tools will run there. Obviously certs work there, but I bet the lack of tools to call is the issue.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • A
                          alesribic
                          last edited by

                          I think the same. But now i try to open DB file with events. Im looking for DB password to open database.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @alesribic
                            last edited by

                            @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                            I think the same. But now i try to open DB file with events. Im looking for DB password to open database.

                            No DB password on a default install. Nor on a recommended install.

                            1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @scottalanmiller
                              last edited by

                              @scottalanmiller said in MeshCentral2 Let's Encrypt cert not created:

                              @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                              I have windows installation. If restart is needed, i restart service inside services panel.
                              This is from event viewer:
                              Starting C:\Program Files\nodejs\node.exe --harmony "C:\Program Files\Open Source\MeshCentral\node_modules\node-windows\lib\wrapper.js" --file "C:\Program Files\Open Source\MeshCentral\winservice\winservice.js" --log "MeshCentral wrapper" --grow 0.5 --wait 2 --maxrestarts 3 --abortonerror n --stopparentfirst undefined

                              OH! I bet it is because it is Windows. Absolutely no idea how that will work on Windows. I don't think that Lets Encrypt's tools will run there. Obviously certs work there, but I bet the lack of tools to call is the issue.

                              LE can certainly be ran on Windows. It simply depends on the webserver to answer.

                              MeshCentral is big on running on Windows, it is stupid, yes, but still what they do. I know the LE design is meant to work on Windows, but I have never looked into it.

                              1 Reply Last reply Reply Quote 0
                              • A
                                alesribic
                                last edited by

                                i notice that meshcentral-events.db starts from scratch everytime service runs. But i can not find a way to browse this events database.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @alesribic
                                  last edited by

                                  @alesribic said in MeshCentral2 Let's Encrypt cert not created:

                                  i notice that meshcentral-events.db starts from scratch everytime service runs. But i can not find a way to browse this events database.

                                  This suggests that maybe you don't have write access to the database with the user that you are kicking off MC with.

                                  What DB are you using? The default or MongoDB?

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 2 / 2
                                  • First post
                                    Last post