Hi all,
after upgrading ownCloud to version 10.0.9. this morning, I’m facing this warning message now:
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- INVALID_HASH
- resources/config/ca-bundle.crt
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[resources/config/ca-bundle.crt] => Array
(
[expected] => e33e630c79005c3151522f1c3b840d07e7ee36b6a13f66d616b5046b1bb1e02208a375b046dd05b82121ff444c2af3f71ad6c97e52f32b42a022916adbeda92c
[current] => ecd588c735c24e3f933b9edb594d2d558de9b25641d6c7ce650b938d69cf14d1814036c56ce5693afcf6dcf00e6f158ffa144a33bb2cc28fab5d57313903c1f1
Besides this warning everything else seems to be working as expected. Not sure what is the correct way to fix this - any hint would be much appreciated.
Sorry for bringing this up again. I’m aware that this is not a big thing (as stated before, everything works as expected), but is there really no way to get this fixed?
Where do you see this warning?
I tried to reproduce it and installed 10.8 followed by upgrading the app.
I have not sen the usual yellow warning or anything in the admin section. The only way I have seen the warning was using occ (install sudo into the container first)
IMO it is caused by the “collabora-cert” which is actually /etc/univention/ssl/ucsCA/CAcert.pem that is appended to /var/www/owncloud/resources/config/ca-bundle.crt (inside the container, I havent checked if it also accessible outside). As soon the last certificate in the chain is removed the warning disappears.
The last one can only be fixed by the vendor. @ngulden: can you please point them to this thread?
I am not sure which technical implications will follow a removal of the UCS-CA certificate. I only remember that we added it to the bundle back in time with earlier versions when the trust-check was not yet implemented.
Sorry for not beeing clear in my previous posting, I see this warning on the ownCloud-webpage when I’m logged in as admin (ownCloud user - see also attached screenshot):
Integrity-check from command-line gives me the same result.
Your explaination sounds absolut plausible to me. But as I’m using Collabora as well on my system the ca-bundle.crt is accordingly not untouched, therefore a quick and simple soultion seems not be feasible
Just wondering what has been changed with version 10.0.9, as I have never seen this warning on previous ownCloud versions.
Disabling the integrity-check in general seems not to be the right approach for me. I will wait for a solution that really fixes the root cause - But thank you anyway dmitry, for having a look!
Root cause is - to simplify the process of connecting collabora / onlyoffice to the appliance and to have it working out of the box we need this certificate. This certificate is being put inside ownCloud. This is causing the integrity check to sound alarms because this file is not supposed to be there. Integrity check should protect you against people editing your files and you not noticing it.
If you just install onlyoffice in univention app center you will notice that there is a code box in the description after the installation process - “Do this if you want ownCloud / Nextcloud to work with collabora”. That would mean you would have to log in to the command line / connect via ssh, log in to the appliance, copy the command, paste the command, execute the command. This is not optimal.
That’s why we created the process that does this for you.
We will try to figure out how we can improve this process that you will not see the integrity check message but in the mean time, if you want to use 10.0.9 I advise you to edit your config.php.
I’ve got the same issue as the thread-starter but not through collabra (we’re not using it) but instead I installed File-Firewall 2.8.
After that ownCloud was set to maintenance-mode and I was forced to do an update with the occ-command “upgrade”. Now I see the same integrity-check-message saying that ca-bundle.crt has an invalid hash.
@dmitry : Do you know if there is a connection between FileFirewall and ca-bundle.crt and how this error occured?