Skip to content

support Nextcloud running with private CA certificates#568

Merged
icewind1991 merged 1 commit intonextcloud:mainfrom
MarcelCoding:native-roots
Mar 19, 2025
Merged

support Nextcloud running with private CA certificates#568
icewind1991 merged 1 commit intonextcloud:mainfrom
MarcelCoding:native-roots

Conversation

@MarcelCoding
Copy link
Contributor

allow to use custom ca certificates

@MarcelCoding MarcelCoding changed the title requwest: also search native roots support Nextcloud running with private CA certificates Mar 4, 2025
allow to use custom ca certificates

Signed-off-by: Marcel <me@m4rc3l.de>
@icewind1991
Copy link
Member

While I'm open to making this change, it would be a breaking one, as some systems (like docker images) might not have any system certificate bundle in their current setup.

I'm not sure if rustls has a proper way of doing a fallback to bundled certs so both cases could be covered

@MarcelCoding
Copy link
Contributor Author

I've looked at the code and it seemed like rustls just merged the system store and the hardcoded one. Although I did not test it.

@MarcelCoding
Copy link
Contributor Author

Maybe someone with a docker installation of notify_push can test this PR?

@icewind1991
Copy link
Member

I'll try to do some testing soon™

@liske
Copy link

liske commented Mar 14, 2025

I'll try to do some testing soon™

I can confirm that with the patch of @MarcelCoding it works as intended:

  • ✔️ public certificates (single binary container without any mapped CA files)
  • ✔️ certificates sign by a private enterprise CA with a mapped /etc/ssl volume

LGTM & thanks!

@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@icewind1991 icewind1991 merged commit 5b15b97 into nextcloud:main Mar 19, 2025
55 checks passed
@MarcelCoding MarcelCoding deleted the native-roots branch March 19, 2025 13:59
mwalbeck pushed a commit to mwalbeck/docker-nextcloud-notify-push that referenced this pull request May 11, 2025
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [nextcloud/notify_push](https://github.com/nextcloud/notify_push) | minor | `v1.0.0` -> `v1.1.0` |

---

### Release Notes

<details>
<summary>nextcloud/notify_push (nextcloud/notify_push)</summary>

### [`v1.1.0`](https://github.com/nextcloud/notify_push/releases/tag/v1.1.0): 1.1.0

[Compare Source](nextcloud/notify_push@v1.0.0...v1.1.0)

#### What's Changed

-   Command\Setup: s/trough/through/ by [@&#8203;wonderfulShrineMaidenOfParadise](https://github.com/wonderfulShrineMaidenOfParadise) in nextcloud/notify_push#564
-   support Nextcloud running with private CA certificates by [@&#8203;MarcelCoding](https://github.com/MarcelCoding) in nextcloud/notify_push#568
-   track per-message type events by [@&#8203;icewind1991](https://github.com/icewind1991) in nextcloud/notify_push#587
-   redis tls support by [@&#8203;icewind1991](https://github.com/icewind1991) in nextcloud/notify_push#598
-   1.1.0 by [@&#8203;icewind1991](https://github.com/icewind1991) in nextcloud/notify_push#603
-   MSRV has increased to 1.81

#### New Contributors

-   [@&#8203;MarcelCoding](https://github.com/MarcelCoding) made their first contribution in nextcloud/notify_push#568

**Full Changelog**: nextcloud/notify_push@v1.0.0...v1.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zLjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC4zLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: https://git.walbeck.it/walbeck-it/docker-nextcloud-notify-push/pulls/150
Co-authored-by: renovate-bot <bot@walbeck.it>
Co-committed-by: renovate-bot <bot@walbeck.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants