Steps to reproduce
- Using Windows 10 laptop, following [instructions here, run
docker run -d -p 80:80 owncloud
- Open owncloud on localhost:80 , setup the admin username and password, navigate to marketplace
Expected behaviour
Can reach marketplace
Actual behaviour
Marketplace throws error:
No marketplace connection: cURL error 60: SSL certificate problem: certificate has expired
Server configuration
Operating system:
Windows 10 Pro Version 22H2
(Intel(R) Core™ i5-6200U CPU @ 2.30GHz 2.40 GHz)
Web server:
Database:
PHP version:
Whatever comes with Docker?
ownCloud version: (see ownCloud admin page)
version 10.0.10.4
Updated from an older ownCloud or fresh install:
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
“No errors have been found.”
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => '...',
'passwordsalt' => '...',
'secret' => '...',
'trusted_domains' =>
array (
0 => 'localhost',
),
'datadirectory' => '/var/www/html/data',
'overwrite.cli.url' => 'http://localhost',
'dbtype' => 'sqlite3',
'version' => '10.0.10.4',
'logtimezone' => 'UTC',
'installed' => true,
);
The docker logs say:
2023-05-29 15:43:31 172.17.0.1 - - [29/May/2023:21:43:30 +0000] "GET /index.php/apps/market/categories HTTP/1.1" 503 815 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
I ran the command suggested [here:
Please post the output from
curl -LI https://marketplace.owncloud.com
executed on the host as well as from inside of the container.
When I run that command from docker, I get:
# curl -LI https://marketplace.owncloud.com
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
When I run that command from git bash on my computer directly:
$ curl -LI https://marketplace.owncloud.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
I see that the [docker website says
DEPRECATED; use “owncloud/server” instead
When I try the same docker command with owncloud/server
, the localhost:80 won’t run at all:
docker run -d -p 80:80 owncloud/server
I tried [this recommendation
- Edit the file resources/config/ca-bundle.crt
- Search for the certificate “DST Root CA X3”
- Delete this certificate from the file
I tried that, but I still get the same error:
No marketplace connection: cURL error 60: SSL certificate problem: certificate has expired