# Custom CA in S3 backup target

**URL:** <https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464>\
**Category:** SUSE Storage\
**Created:** [May 15, 2020, 12:31pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464 "2020-05-15T12:31:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas87](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nicolas87](https://forums.suse.com/u/nicolas87)\
**Post date:** [May 15, 2020, 12:31pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464/1 "2020-05-15T12:31:32Z")

</div>

Hello,

I successfully install longhorn on my cluster and I use ceph (S3) as a backup target.  
My company has a private network with custom CA.  
I modified the files in helm chart to mount the CA as a volume for the ui (I can now browse the page without error).  
But how can I inject the CA in the pod/deployment managed by longhorn. In particular, I’m interested to modify the _instancemanager_ pods because I see in the logs `x509 : signed by unknow authority` each time I want to do a backup.

Thanks for the help

Nicolas

---

<div class="post-metadata">

**Author:** ![yasker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yasker/32/137_2.png) [@yasker](https://forums.suse.com/u/yasker)\
**Post date:** [May 15, 2020, 1:59pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464/2 "2020-05-15T13:59:35Z")

</div>

Hi @nicolas87

We’ve just implemented this feature in the upcoming v1.0.0. Check [https://github.com/longhorn/longhorn/issues/704](https://github.com/longhorn/longhorn/issues/704) for details. The document is currently at [https://staging.longhorn.io/docs/0.8.1/snapshots-and-backups/backup-and-restore/set-backup-target/#using-a-self-signed-ssl-certificate-for-s3-communication](https://staging.longhorn.io/docs/0.8.1/snapshots-and-backups/backup-and-restore/set-backup-target/#using-a-self-signed-ssl-certificate-for-s3-communication). and will be merged into master when GA v1.0.0 released.

---

<div class="post-metadata">

**Author:** ![nicolas87](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nicolas87](https://forums.suse.com/u/nicolas87)\
**Post date:** [May 15, 2020, 2:08pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464/3 "2020-05-15T14:08:09Z")

</div>

Hi @yasker

Thank you for the links.  
I often read the issues to follow the dev but that one slip out of my watch.

Do I need to use master if I want to test or the 0.8.1 release already got it ?

Thanks

---

<div class="post-metadata">

**Author:** ![yasker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yasker/32/137_2.png) [@yasker](https://forums.suse.com/u/yasker)\
**Post date:** [May 15, 2020, 2:23pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464/4 "2020-05-15T14:23:17Z")

</div>

Hi @nicolas87

You can test it using upcoming v1.0.0-RC1, which should be out early next week. But it would require a new setup since it’s not upgradable from/to other version.

---

<div class="post-metadata">

**Author:** ![nicolas87](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nicolas87](https://forums.suse.com/u/nicolas87)\
**Post date:** [July 9, 2020, 2:35pm UTC](https://forums.suse.com/t/custom-ca-in-s3-backup-target/17464/5 "2020-07-09T14:35:53Z")

</div>

Hi

I successfully used it !

Thank you very much 😃
