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

    Using Certbot (OwnCloud 9.0.2)

    Scheduled Pinned Locked Moved IT Discussion
    46 Posts 5 Posters 11.6k Views
    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.
    • travisdh1T
      travisdh1 @wirestyle22
      last edited by

      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

      @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

      RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
      

      This would be https://skynetoc.skynetli.com -- https://hostname.domain.com correct?

      Right idea, wrong line

      ServerName www.travisdh1.net
      

      replace www.travisdh1.net with skynetoc.skynetli.com and remove the ServerAlias line

      wirestyle22W stacksofplatesS 3 Replies Last reply Reply Quote 0
      • wirestyle22W
        wirestyle22 @travisdh1
        last edited by

        @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

        @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

        @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

        RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
        

        This would be https://skynetoc.skynetli.com -- https://hostname.domain.com correct?

        Right idea, wrong line

        ServerName www.travisdh1.net
        

        replace www.travisdh1.net with skynetoc.skynetli.com and remove the ServerAlias line

        The clarification is very appreciated. Thanks! Trying it now.

        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22 @travisdh1
          last edited by

          @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

          @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

          @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

          RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
          

          This would be https://skynetoc.skynetli.com -- https://hostname.domain.com correct?

          Right idea, wrong line

          ServerName www.travisdh1.net
          

          replace www.travisdh1.net with skynetoc.skynetli.com and remove the ServerAlias line

          Is the hostname required? If I only have one server I am pointing to that is an oC server couldn't I get away with just https://skynetli.com ?

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

            @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

            @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

            @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

            @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

            RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
            

            This would be https://skynetoc.skynetli.com -- https://hostname.domain.com correct?

            Right idea, wrong line

            ServerName www.travisdh1.net
            

            replace www.travisdh1.net with skynetoc.skynetli.com and remove the ServerAlias line

            Is the hostname required? If I only have one server I am pointing to that is an oC server couldn't I get away with just https://skynetli.com ?

            The servername needs to be whatever the incoming servername is in the URL.

            wirestyle22W 1 Reply Last reply Reply Quote 0
            • wirestyle22W
              wirestyle22 @JaredBusch
              last edited by

              @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

              @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

              @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

              @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

              @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

              RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
              

              This would be https://skynetoc.skynetli.com -- https://hostname.domain.com correct?

              Right idea, wrong line

              ServerName www.travisdh1.net
              

              replace www.travisdh1.net with skynetoc.skynetli.com and remove the ServerAlias line

              Is the hostname required? If I only have one server I am pointing to that is an oC server couldn't I get away with just https://skynetli.com ?

              The servername needs to be whatever the incoming servername is in the URL.

              Alright. Thanks for the info. Now I have to figure out what to do with my google domain. This is all new to me

              1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @travisdh1
                last edited by

                @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                replace www.travisdh1.net

                Nice test page 😛

                travisdh1T 1 Reply Last reply Reply Quote 1
                • wirestyle22W
                  wirestyle22
                  last edited by wirestyle22

                  I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned:

                  Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                  IMPORTANT NOTES:

                  • The following errors were reported by the server:

                    Domain: oc.skynetli.com
                    Type: connection
                    Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                    To fix these errors, please make sure that your domain name was
                    entered correctly and the DNS A record(s) for that domain
                    contain(s) the right IP address. Additionally, please check that
                    your computer has a publicly routable IP address and that no
                    firewalls are preventing the server from communicating with the
                    client. If you're using the webroot plugin, you should also verify
                    that you are serving files from the webroot path you provided.

                  I'm unsure what I need to do with my A record to fix it if that is actually the problem.

                  dafyreD 1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre @wirestyle22
                    last edited by

                    @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                    I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                    Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                    IMPORTANT NOTES:

                    • The following errors were reported by the server:

                      Domain: oc.skynetli.com
                      Type: connection
                      Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                      To fix these errors, please make sure that your domain name was
                      entered correctly and the DNS A record(s) for that domain
                      contain(s) the right IP address. Additionally, please check that
                      your computer has a publicly routable IP address and that no
                      firewalls are preventing the server from communicating with the
                      client. If you're using the webroot plugin, you should also verify
                      that you are serving files from the webroot path you provided.

                    Do you have oc.skynetli.com in your public DNS?

                    JaredBuschJ wirestyle22W 2 Replies Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @dafyre
                      last edited by

                      @dafyre said in Using Certbot (OwnCloud 9.0.2):

                      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                      I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                      Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                      IMPORTANT NOTES:

                      • The following errors were reported by the server:

                        Domain: oc.skynetli.com
                        Type: connection
                        Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                        To fix these errors, please make sure that your domain name was
                        entered correctly and the DNS A record(s) for that domain
                        contain(s) the right IP address. Additionally, please check that
                        your computer has a publicly routable IP address and that no
                        firewalls are preventing the server from communicating with the
                        client. If you're using the webroot plugin, you should also verify
                        that you are serving files from the webroot path you provided.

                      Do you have oc.skynetli.com in your public DNS?

                      And what does your owncloud server think of that DNS address? is it resolving locally?

                      wirestyle22W 1 Reply Last reply Reply Quote 1
                      • travisdh1T
                        travisdh1 @stacksofplates
                        last edited by

                        @johnhooks said in Using Certbot (OwnCloud 9.0.2):

                        @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                        replace www.travisdh1.net

                        Nice test page 😛

                        According to ssllabs.com, I have an A rating for SSL security on my test page 😛

                        1 Reply Last reply Reply Quote 1
                        • wirestyle22W
                          wirestyle22 @dafyre
                          last edited by wirestyle22

                          @dafyre said in Using Certbot (OwnCloud 9.0.2):

                          @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                          I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                          Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                          IMPORTANT NOTES:

                          • The following errors were reported by the server:

                            Domain: oc.skynetli.com
                            Type: connection
                            Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                            To fix these errors, please make sure that your domain name was
                            entered correctly and the DNS A record(s) for that domain
                            contain(s) the right IP address. Additionally, please check that
                            your computer has a publicly routable IP address and that no
                            firewalls are preventing the server from communicating with the
                            client. If you're using the webroot plugin, you should also verify
                            that you are serving files from the webroot path you provided.

                          Do you have oc.skynetli.com in your public DNS?

                          I believe so? Unsure how long it takes to apply. Or do I need to create a custom resource? I used to do this a long time ago just in a text document I uploaded using cpanel.

                          0_1464278282455_DNS.jpg

                          I can ping oc.skynetli.com but it 404's if I try to go to the URL. Is this due to it trying to access 45.63.4.232 instead of 45.63.4.232/owncloud?

                          1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @JaredBusch
                            last edited by

                            @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                            @dafyre said in Using Certbot (OwnCloud 9.0.2):

                            @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                            I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                            Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                            IMPORTANT NOTES:

                            • The following errors were reported by the server:

                              Domain: oc.skynetli.com
                              Type: connection
                              Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                              To fix these errors, please make sure that your domain name was
                              entered correctly and the DNS A record(s) for that domain
                              contain(s) the right IP address. Additionally, please check that
                              your computer has a publicly routable IP address and that no
                              firewalls are preventing the server from communicating with the
                              client. If you're using the webroot plugin, you should also verify
                              that you are serving files from the webroot path you provided.

                            Do you have oc.skynetli.com in your public DNS?

                            And what does your owncloud server think of that DNS address? is it resolving locally?

                            Unsure of how to check that

                            travisdh1T 1 Reply Last reply Reply Quote 1
                            • travisdh1T
                              travisdh1 @wirestyle22
                              last edited by

                              @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                              @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                              @dafyre said in Using Certbot (OwnCloud 9.0.2):

                              @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                              I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                              Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                              IMPORTANT NOTES:

                              • The following errors were reported by the server:

                                Domain: oc.skynetli.com
                                Type: connection
                                Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                To fix these errors, please make sure that your domain name was
                                entered correctly and the DNS A record(s) for that domain
                                contain(s) the right IP address. Additionally, please check that
                                your computer has a publicly routable IP address and that no
                                firewalls are preventing the server from communicating with the
                                client. If you're using the webroot plugin, you should also verify
                                that you are serving files from the webroot path you provided.

                              Do you have oc.skynetli.com in your public DNS?

                              And what does your owncloud server think of that DNS address? is it resolving locally?

                              Unsure of how to check that

                              nslookup os.skynetli.com
                              
                              wirestyle22W 1 Reply Last reply Reply Quote 0
                              • wirestyle22W
                                wirestyle22 @travisdh1
                                last edited by

                                @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                                @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                @dafyre said in Using Certbot (OwnCloud 9.0.2):

                                @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                                Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                IMPORTANT NOTES:

                                • The following errors were reported by the server:

                                  Domain: oc.skynetli.com
                                  Type: connection
                                  Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                  To fix these errors, please make sure that your domain name was
                                  entered correctly and the DNS A record(s) for that domain
                                  contain(s) the right IP address. Additionally, please check that
                                  your computer has a publicly routable IP address and that no
                                  firewalls are preventing the server from communicating with the
                                  client. If you're using the webroot plugin, you should also verify
                                  that you are serving files from the webroot path you provided.

                                Do you have oc.skynetli.com in your public DNS?

                                And what does your owncloud server think of that DNS address? is it resolving locally?

                                Unsure of how to check that

                                nslookup os.skynetli.com
                                

                                non-existent domain

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

                                  @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                  @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                                  @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                  @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                  @dafyre said in Using Certbot (OwnCloud 9.0.2):

                                  @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                  I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                                  Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                  IMPORTANT NOTES:

                                  • The following errors were reported by the server:

                                    Domain: oc.skynetli.com
                                    Type: connection
                                    Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                    To fix these errors, please make sure that your domain name was
                                    entered correctly and the DNS A record(s) for that domain
                                    contain(s) the right IP address. Additionally, please check that
                                    your computer has a publicly routable IP address and that no
                                    firewalls are preventing the server from communicating with the
                                    client. If you're using the webroot plugin, you should also verify
                                    that you are serving files from the webroot path you provided.

                                  Do you have oc.skynetli.com in your public DNS?

                                  And what does your owncloud server think of that DNS address? is it resolving locally?

                                  Unsure of how to check that

                                  nslookup os.skynetli.com
                                  

                                  non-existent domain

                                  so that means certbot will have no idea how to set stuff up

                                  wirestyle22W 1 Reply Last reply Reply Quote 1
                                  • wirestyle22W
                                    wirestyle22 @JaredBusch
                                    last edited by wirestyle22

                                    @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                    @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                    @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                                    @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                    @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                    @dafyre said in Using Certbot (OwnCloud 9.0.2):

                                    @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                    I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                                    Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                    IMPORTANT NOTES:

                                    • The following errors were reported by the server:

                                      Domain: oc.skynetli.com
                                      Type: connection
                                      Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                      To fix these errors, please make sure that your domain name was
                                      entered correctly and the DNS A record(s) for that domain
                                      contain(s) the right IP address. Additionally, please check that
                                      your computer has a publicly routable IP address and that no
                                      firewalls are preventing the server from communicating with the
                                      client. If you're using the webroot plugin, you should also verify
                                      that you are serving files from the webroot path you provided.

                                    Do you have oc.skynetli.com in your public DNS?

                                    And what does your owncloud server think of that DNS address? is it resolving locally?

                                    Unsure of how to check that

                                    nslookup os.skynetli.com
                                    

                                    non-existent domain

                                    so that means certbot will have no idea how to set stuff up

                                    no it means I suck at typing. Totally typo'd.

                                    0_1464279872316_ugh.jpg

                                    wirestyle22W 1 Reply Last reply Reply Quote 2
                                    • wirestyle22W
                                      wirestyle22 @wirestyle22
                                      last edited by wirestyle22

                                      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                      @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                      @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                                      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                      @JaredBusch said in Using Certbot (OwnCloud 9.0.2):

                                      @dafyre said in Using Certbot (OwnCloud 9.0.2):

                                      @wirestyle22 said in Using Certbot (OwnCloud 9.0.2):

                                      I edited everything for it to be oc.skynetli.com and when I ran ./certbot-auto this is what it returned

                                      Failed authorization procedure. oc.skynetli.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                      IMPORTANT NOTES:

                                      • The following errors were reported by the server:

                                        Domain: oc.skynetli.com
                                        Type: connection
                                        Detail: DNS problem: NXDOMAIN looking up A for oc.skynetli.com

                                        To fix these errors, please make sure that your domain name was
                                        entered correctly and the DNS A record(s) for that domain
                                        contain(s) the right IP address. Additionally, please check that
                                        your computer has a publicly routable IP address and that no
                                        firewalls are preventing the server from communicating with the
                                        client. If you're using the webroot plugin, you should also verify
                                        that you are serving files from the webroot path you provided.

                                      Do you have oc.skynetli.com in your public DNS?

                                      And what does your owncloud server think of that DNS address? is it resolving locally?

                                      Unsure of how to check that

                                      nslookup os.skynetli.com
                                      

                                      non-existent domain

                                      so that means certbot will have no idea how to set stuff up

                                      no it means I suck at typing. Totally typo'd.

                                      From what I can see it's correct on the server side? I'm guessing my settings on Google Domains are wrong. These are my options:

                                      0_1464280111831_sad.jpg

                                      I'm using Google DNS:

                                      ns-cloud-a1.googledomains.com
                                      ns-cloud-a2.googledomains.com
                                      ns-cloud-a3.googledomains.com
                                      ns-cloud-a4.googledomains.com

                                      travisdh1T 1 Reply Last reply Reply Quote 0
                                      • travisdh1T
                                        travisdh1 @wirestyle22
                                        last edited by

                                        @wirestyle22 Take a gander at this

                                        [root@travisdh1 ~]# nslookup oc.skynetli.com ns-cloud-a1.googledomains.com
                                        Server:         ns-cloud-a1.googledomains.com
                                        Address:        2001:4860:4802:32::6a#53
                                        ** server can't find oc.skynetli.com: NXDOMAIN
                                        

                                        So, something is wrong with your name server settings/config. I'd open a support ticket with Google Domains, probably get you sorted out quickly.

                                        wirestyle22W 2 Replies Last reply Reply Quote 1
                                        • wirestyle22W
                                          wirestyle22 @travisdh1
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • wirestyle22W
                                            wirestyle22 @travisdh1
                                            last edited by

                                            @travisdh1 said in Using Certbot (OwnCloud 9.0.2):

                                            @wirestyle22 Take a gander at this

                                            [root@travisdh1 ~]# nslookup oc.skynetli.com ns-cloud-a1.googledomains.com
                                            Server:         ns-cloud-a1.googledomains.com
                                            Address:        2001:4860:4802:32::6a#53
                                            ** server can't find oc.skynetli.com: NXDOMAIN
                                            

                                            So, something is wrong with your name server settings/config. I'd open a support ticket with Google Domains, probably get you sorted out quickly.

                                            It was a syntax issue. Ughhhhh

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