App list not available?


I updated to Nextcloud 18 yesterday and can’t access the “app store” from within my NC server, meaning that I can list all my installed, enabled and disabled apps, but I don’t see the other apps from the store I would like to download and install.

Whenever I open “Apps” as admin, I get the following error message:

[appstoreFetcher] Warning: GuzzleHttp\Exception\RequestException: cURL error 60: SSL: no alternative certificate subject name matches target host name '' (see at <<closure>>

 0. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 149
    GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl ... l}, {errno: 60,error ... 7})
 1. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 102
    GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
 2. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 43
    GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
 3. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 28
    GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
 4. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 51
    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
 5. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 37
    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
 6. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 30
    GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
 7. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 70
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 8. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 60
    GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
 9. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 67
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
10. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 277
    GuzzleHttp\HandlerStack->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
11. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 125
    GuzzleHttp\Client->transfer("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
12. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 131
    GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, {verify: "/var/n ... }})
13. /var/www/nextcloud/lib/private/Http/Client/Client.php line 149
    GuzzleHttp\Client->request("get", "", {proxy: null,ver ... e})
14. /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php line 109
    OC\Http\Client\Client->get("", {timeout: 10})
15. /var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php line 86
    OC\App\AppStore\Fetcher\Fetcher->fetch("", "")
16. /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php line 173
    OC\App\AppStore\Fetcher\AppFetcher->fetch("", "")
17. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 303
18. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 206
19. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 242
20. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
21. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "listApps")
22. /var/www/nextcloud/lib/private/AppFramework/App.php line 125
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "listApps")
23. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main("OCA\\Settings\\ ... r", "listApps", OC\AppFramework\ ... {}, {_route: "settings.AppSettings.listApps"})
24. <<closure>>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "settings.AppSettings.listApps"})
25. /var/www/nextcloud/lib/private/Route/Router.php line 299
    call_user_func(OC\AppFramework\ ... {}, {_route: "settings.AppSettings.listApps"})
26. /var/www/nextcloud/lib/base.php line 1008
27. /var/www/nextcloud/index.php line 38

GET /settings/apps/list
from <IP> by admin at 2020-01-19T01:12:42+01 

The relevant information here is: no alternative certificate subject name matches target host name ''

Even when I try to access via Firefox, the connection is blocked by Firefox and the browser informs me the website is unsafe, because the certificate does not match. So the same why Nextcloud (or more specific curl) doesn’t connect to that site.
I was thinking that this might be a problem on my side, because I couldn’t find any reports about this issue here in the forum or on github, but even ssllabs report the same issue and doesn’t initiate the scan:

So no-one else is having this issue? Any ideas why I have this issue and how I could solve it?

NC 18 (upgraded from 17.0.2)
PHP 7.4
PHP-fpm 7.4
nginx 1.16.1

In case somebody is running into the same issue after an upgrade, here is the solution.
For some reason I got an entry for ‘appstoreurl’ in my config.php in the past - and I believe that entry was added automatically during an update.
So the entry was:
'appstoreurl' => ''

I removed this line from my config.php completely and that solved the problem; I can see all apps, can install new apps and update my installed apps again.

So solution is: remove the entry for ‘appstoreurl’ from the config.php and just reload the Apps page in Nextcloud to see all apps again.


The url can be found in the administrator guide under the paragraph which describes the setup of a custom app store. It might be a good idea to remove the url from the example and use a non-existent one instead.

1 Like