Nextcloud Hub 31 problems with selfsigned certificates

Hello, I have installed Nextlcoud on Ubuntu via snap. I only use it locally and have installed with the command sudo nextcloud.enable-https self-signed to create a certificate. After the update today to HUB 31.0.2, I can no longer use WebAuthn.
The following message always appears in the logs:

RequestException cURL error 60: SSL certificate problem: self signed certificate for https://server/extra-apps/richdocumentscode/proxy.php?req=/hosting/discovery Failed to fetch discovery: cURL error 60: SSL certificate problem: self signed certificate for https://server/extra-apps/richdocumentscode/proxy.php?req=/hosting/discovery

Can anyone help me?