# Snap: WebAuthn problems with selfsigned certifiactes after update to Nextcloud HUB 31

**URL:** <https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521>\
**Category:** ℹ️ Support\
**Tags:** snap, self-signed-certificate, nc31, collabora-built-in, php83\
**Created:** [April 12, 2025, 10:05am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521 "2025-04-12T10:05:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![and2000](https://help.nextcloud.com/letter_avatar/and2000/32/5_5575768a8748004e209b776fc1b2916d.png) [@and2000](https://help.nextcloud.com/u/and2000)\
**Post date:** [April 12, 2025, 10:05am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/1 "2025-04-12T10:05:35Z")

</div>

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - 31.0.2

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - `Ubuntu 24.0`

- Web server and version _(e.g, Apache 2.4.25)_:
  - `Apache 2.4`

- Reverse proxy and version \_(e.g. nginx 1.27.2)
  - `MySQL 8.0`

- PHP version _(e.g, 8.3)_:
  - `php 8.3`

- Is this the first time you’ve seen this error? (Yes / No):
  - `Yes`

- When did this problem seem to first start?
  - `today after automatic Update from Version 30`

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - `SNAP`

- Are you using CloudfIare, mod\_security, or similar? _(Yes / No)_
  - `No`

### Summary of the issue you are facing:

WebAuthn doesn’t work anymore.

### Log entries

#### Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the _Copy raw_ option from _Administration settings-\>Logging_ screen or from your `nextcloud.log` located in your data directory). Feel free to use a pastebin/gist service if necessary.

```auto
RequestException cURL error 60: SSL certificate problem: self signed certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://server/extra-apps/richdocumentscode/proxy.php?req=/hosting/discovery
Failed to fetch discovery: cURL error 60: SSL certificate problem: self signed certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://server/extra-apps/richdocumentscode/proxy.php?req=/hosting/discovery 

```

Can you help me?

---

<div class="post-metadata">

**Author:** ![scubamuc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/scubamuc/32/63165_2.png) [@scubamuc](https://help.nextcloud.com/u/scubamuc)\
**Post date:** [April 13, 2025, 10:26am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/3 "2025-04-13T10:26:40Z")

</div>

@and2000, are you trying to use Collabora CODE built-in with self-signed certificate? Has that ever worked on your instance?

see [Configure CODE and Nextcloud office for Nextcloud snap · nextcloud-snap/nextcloud-snap Wiki · GitHub](https://github.com/nextcloud-snap/nextcloud-snap/wiki/Configure-CODE-and-Nextcloud-office-for-Nextcloud-snap)

---

<div class="post-metadata">

**Author:** ![and2000](https://help.nextcloud.com/letter_avatar/and2000/32/5_5575768a8748004e209b776fc1b2916d.png) [@and2000](https://help.nextcloud.com/u/and2000)\
**Post date:** [April 17, 2025, 6:27am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/4 "2025-04-17T06:27:25Z")

</div>

Thanks for the tip. But it’s not about Collabora. The link refers to use with Lets Encrypt. I only use self-signed certificates.

With the upgrade to NC31 I can no longer use WebAuthn.

That’s the biggest problem at the moment.

---

<div class="post-metadata">

**Author:** ![scubamuc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/scubamuc/32/63165_2.png) [@scubamuc](https://help.nextcloud.com/u/scubamuc)\
**Post date:** [April 17, 2025, 6:33am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/5 "2025-04-17T06:33:42Z")

</div>

> [@and2000](#):
>
> I only use self-signed certificates.

> [@How to manage Lets Encrypt for Nextcloud snap](https://help.nextcloud.com/t/how-to-manage-lets-encrypt-for-nextcloud-snap/216069):
>
> Managing Lets Encrypt for Nextcloud snap Nextcloud snap includes a service for automated HTTPS encryption using Lets Encrypt, self-signed certificates, or custom certificates. Lets Encrypt requires port 80 and port 443. Enable HTTPS via Lets Encrypt. HTTP will redirect to HTTPS. Non-custom certificates will automatically be kept up-to-date. See nextcloud.enable-https -h for more information. Note that this requires sudo or root privileges. Run nextcloud.enable-https -h for more information: i…

---

<div class="post-metadata">

**Author:** ![and2000](https://help.nextcloud.com/letter_avatar/and2000/32/5_5575768a8748004e209b776fc1b2916d.png) [@and2000](https://help.nextcloud.com/u/and2000)\
**Post date:** [April 17, 2025, 7:23am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/6 "2025-04-17T07:23:12Z")

</div>

Thank you for your answer.  
I originally created the certificate according to these instructions.  
WebAuthn was no problem.  
With the snap update to NC 31, Webauthn no longer works.  
I have also just created a new certificate. The browser gives its warning. I can use everything with a password.  
But Webauthn still does not work.

---

<div class="post-metadata">

**Author:** ![scubamuc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/scubamuc/32/63165_2.png) [@scubamuc](https://help.nextcloud.com/u/scubamuc)\
**Post date:** [April 17, 2025, 7:49am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/7 "2025-04-17T07:49:59Z")

</div>

> [@NC31 FIDO2/webauthn stopped working](https://help.nextcloud.com/t/nc31-fido2-webauthn-stopped-working/218664/10):
>
> should be fixed with 31.0.3 referring to issue-tracker

> <https://github.com/nextcloud/server/pull/51578>
>
> Backport of #51521
> 
> Warning, This backport's changes differ from the original a…nd might be incomplete ⚠️
> 
> \## Todo 
> \- \[\] Review and resolve any conflicts
> \- \[\] Remove all the empty commits
> \---
> 
> Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

---

<div class="post-metadata">

**Author:** ![and2000](https://help.nextcloud.com/letter_avatar/and2000/32/5_5575768a8748004e209b776fc1b2916d.png) [@and2000](https://help.nextcloud.com/u/and2000)\
**Post date:** [April 18, 2025, 8:08am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/8 "2025-04-18T08:08:29Z")

</div>

Thanks for the information!

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [April 26, 2025, 8:08am UTC](https://help.nextcloud.com/t/snap-webauthn-problems-with-selfsigned-certifiactes-after-update-to-nextcloud-hub-31/222521/9 "2025-04-26T08:08:38Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
