Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Let's Encrypt Issues - 2 Layer Sub Domains

    Support
    letsencrypt certificates
    2
    7
    234
    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.
    • J
      JLX89 last edited by girish

      Hello All,
      Has anyone been having issues between Cloudron and Let's Encrypt for domains that have two sub-domains, for example site-name.sub-domain.domain.tld? On initial provisioning of the app everything seems to be working smoothly, but if the app restarts or you change the location of the app, it starts generating the below error messages in Google Chrome and Firefox.

      Google Chrome

      This site can’t provide a secure connection
      site.sub.domain.tld uses an unsupported protocol.
      
      ERR_SSL_VERSION_OR_CIPHER_MISMATCH
      

      Firefox

      Secure Connection Failed
      
      An error occurred during a connection to site.sub.domain.tld. Cannot communicate securely with peer: no common encryption algorithm(s).
      
      Error code: SSL_ERROR_NO_CYPHER_OVERLAP
      
          The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
          Please contact the website owners to inform them of this problem.
      

      Any help with this would be greatly appreciate!

      Thank you,
      Justin

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        Thanks, I have seen this issue in the past with Cloudflare. This is related to Cloudflare not issuing certificates properly. If you disable Cloudflare proxying and re-enable it, it sometimes starts working. If that doesn't work, just delete the subdomain entry and add it again manually inside Cloudflare.

        J 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @JLX89 last edited by

          @JLX89 Which DNS backend are you using ? If it's wildcard, remember that *.domain.com only applies to one level. You have to set add a ..domain.com in the DNS for second level to work.

          J 1 Reply Last reply Reply Quote 0
          • J
            JLX89 @girish last edited by

            @girish We are using primarily Cloudflare.

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @JLX89 last edited by

              @JLX89 that should work out of the box. Do you see anything in the logs? Can you go to Domains -> Renew All Certs and see what it says in the logs?

              J 1 Reply Last reply Reply Quote 0
              • J
                JLX89 @girish last edited by

                @girish I've reached out to support directly with the log files. Another interesting issue that just came up, if I view the logs directly when running the Domains > Renew All Certs task, I can view them. If I try to download the entire log, it's completely blank with no data.

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  Thanks, I have seen this issue in the past with Cloudflare. This is related to Cloudflare not issuing certificates properly. If you disable Cloudflare proxying and re-enable it, it sometimes starts working. If that doesn't work, just delete the subdomain entry and add it again manually inside Cloudflare.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JLX89 @girish last edited by

                    @girish That did the trick, I appreciate it.

                    1 Reply Last reply Reply Quote 0
                    • Topic has been marked as a question  girish girish 
                    • Topic has been marked as solved  girish girish 
                    • First post
                      Last post
                    Powered by NodeBB