Hi,
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 'api.nextcloud.com' (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) 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", "https://api.nextcloud.com/v1/apps.json", {proxy: null,ver ... e})
14. /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php line 109
OC\Http\Client\Client->get("https://api.nextcloud.com/v1/apps.json", {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
OC\App\AppStore\Fetcher\Fetcher->get()
18. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 206
OCA\Settings\Controller\AppSettingsController->getAppsForCategory("")
19. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 242
OCA\Settings\Controller\AppSettingsController->fetchApps()
20. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\Settings\Controller\AppSettingsController->listApps()
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
OC\Route\Router->match("/settings/apps/list")
27. /var/www/nextcloud/index.php line 38
OC::handleRequest()
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 'api.nextcloud.com'
Even when I try to access api.nextcloud.com 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
Arch-Linux