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 Is there a way to insert a CA Bundle chain for a domain?

    Support
    certificates
    3
    3
    134
    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.
    • Lonkle
      Lonkle last edited by girish

      There's the cert field, the key field, but no CA field. The CA field is uncommonly used but really important when you're building an internal web app. Is there a work around for this, or would this require adding the third SSL Certification field for the domain?

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

        There is currently no way to upload the CA chain as such. I am no expert there, but I think there are some more extensive bundle formats, which contain everything at once? Maybe we can replace the two fields and just make the api accept a bundle and in case maybe extracts the portions for nginx?

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

          @iJoel You can do this by simply concatenating the intermediate and CA cert files into a single cert file.

          So, in the '.crt' file which you upload to Cloudron, it will have:

          -----BEGIN CERTIFICATE-----
          the *.foo.com certificate
          -----END CERTIFICATE-----
          -----BEGIN CERTIFICATE-----
          intermediate cert
          -----END CERTIFICATE-----
          -----BEGIN CERTIFICATE-----
          root cert if any
          -----END CERTIFICATE-----
          

          The ordering of the certs is important above.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB