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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Own SSL Certificate is not Valid

Own SSL Certificate is not Valid

Scheduled Pinned Locked Moved Solved Support
certificates
7 Posts 2 Posters 543 Views 2 Watching
  • 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.
  • G Offline
    G Offline
    gnulab
    wrote on last edited by joseph
    #1

    Hi,

    I am uploading a renewed certificate but I am facing the same problem as this post https://forum.cloudron.io/topic/9278/own-certificate-upload-problem which after uploading the ssl certificate files cloudron complains of "Certificate is not valid for this domain. Expecting test.domain.com".

    How do I solve this?

    Thank you
    Henry

    1 Reply Last reply
    0
    • G gnulab

      Hi,

      do I ssh into cloudron to issue that command? If yes, what is the location of the cert_file? I searched through cloudron dashboard does not have terminal access, and I 'find -type f -iname *.crt' but don't see the certificate uploaded.

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #6

      @gnulab you can run that locally on your laptop (I think it's also available on OS X). Alternately, you can upload the crt file to your server and run the command there. When you upload a cert, that is the command that Cloudron runs to validate the cert.

      G 1 Reply Last reply
      0
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #2

        I assume you are uploading this in the Domains view. For which domains is the certificate valid? Cloudron is expecting a wildcard certificate.

        1 Reply Last reply
        0
        • J joseph marked this topic as a question on
        • G Offline
          G Offline
          gnulab
          wrote on last edited by
          #3

          Hi,

          Yes, the purchased certificate is a *.domain.com and I am uploading it to here.

          image.png

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #4

            Can you check cat cert_file | openssl x509 -noout -checkhost test.yourdomain.com ? It should say "does match certificate" .

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gnulab
              wrote on last edited by
              #5

              Hi,

              do I ssh into cloudron to issue that command? If yes, what is the location of the cert_file? I searched through cloudron dashboard does not have terminal access, and I 'find -type f -iname *.crt' but don't see the certificate uploaded.

              J 1 Reply Last reply
              0
              • G gnulab

                Hi,

                do I ssh into cloudron to issue that command? If yes, what is the location of the cert_file? I searched through cloudron dashboard does not have terminal access, and I 'find -type f -iname *.crt' but don't see the certificate uploaded.

                J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #6

                @gnulab you can run that locally on your laptop (I think it's also available on OS X). Alternately, you can upload the crt file to your server and run the command there. When you upload a cert, that is the command that Cloudron runs to validate the cert.

                G 1 Reply Last reply
                0
                • J joseph

                  @gnulab you can run that locally on your laptop (I think it's also available on OS X). Alternately, you can upload the crt file to your server and run the command there. When you upload a cert, that is the command that Cloudron runs to validate the cert.

                  G Offline
                  G Offline
                  gnulab
                  wrote on last edited by
                  #7

                  Turns out the certificate seller emailed the wrong private key.
                  @joseph thanks for the heads up.

                  1 Reply Last reply
                  0
                  • G gnulab has marked this topic as solved on
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search