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

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.

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?

@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

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.

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.

Thanks for the information!