Online Account Unable to connect to Nextcloud at the given server URL. Please check the server URL.s:

Hello. I am unable to connect my Nextcloud account, from my self-hosted personal server to Online Accounts.

  1. Once I write my IP I am given the following error: Unable to connect to Nextcloud at the given server URL. Please check the server URL.

  2. However, when I write it through the browser, it works, but with a warning: "
    Warning: Potential Security Risk Ahead".

  3. I think this is because I use a self-signed certificate when I installed my Nextcloud server through the snap installation with the command sudo nextcloud.enable-https self-signed

  4. It also works when using the Nextcloud app, it asks me to trust the certificate, and then it starts syncing.

So is there any way I could trust the certificate as well through the “Online Accounts” settings tab. It would be really nice because I would have more options in my Context Menu like sharing certain files with specific users ect..

Thanks!