# Unable to load documents: certificate validation error

**URL:** <https://forum.collaboraonline.com/t/unable-to-load-documents-certificate-validation-error/628>\
**Category:** Installation & Configuration\
**Created:** [October 1, 2021, 10:04am UTC](https://forum.collaboraonline.com/t/unable-to-load-documents-certificate-validation-error/628 "2021-10-01T10:04:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hal-berto](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hal-berto](https://forum.collaboraonline.com/u/hal-berto)\
**Post date:** [October 1, 2021, 10:04am UTC](https://forum.collaboraonline.com/t/unable-to-load-documents-certificate-validation-error/628/1 "2021-10-01T10:04:52Z")

</div>

I have a problem loading documents into collabora.

I am running the image collabora/code on Docker. The server is starting and I can access the discovery.xml and the admin panel

When I try to open a document I use the following URL for a quick test:

https://\<collabora\_url\>:9980/loleaflet/3ae382d/loleaflet.html?WOPISrc=https://\<site\_url\>/wopi/files/69486

The server prints the following Error message:

wsd-00006-00067 2021-10-01 09:24:51.512218 [docbroker\_003] ERR Cannot get file info from WOPI storage uri [https://\<site\_url\>/wopi/files/69486?reuse\_cookies=SimpleSAMLSessionID%3D23bf434ec8cba81ad98f35d498798e2e]. Error: Certificate validation error: Unacceptable certificate from \<site\_url\>: application verification failure| wsd/Storage.cpp:647  
wsd-00006-00067 2021-10-01 09:24:51.513178 [docbroker\_003] ERR loading document exception: Certificate validation error| wsd/DocumentBroker.cpp:1445  
wsd-00006-00067 2021-10-01 09:24:51.513220 [docbroker\_003] ERR Failed to add session to [/wopi/files/69486] with URI [https://\<site\_url\>/wopi/files/69486?reuse\_cookies=SimpleSAMLSessionID%3D23bf434ec8cba81ad98f35d498798e2e]: Certificate validation error| wsd/DocumentBroker.cpp:1407  
wsd-00006-00067 2021-10-01 09:24:51.513260 [docbroker\_003] ERR Error while loading : Certificate validation error| wsd/LOOLWSD.cpp:3465

While in the browser I get this error:  
“Failed to read the document from storage. Please contact your storage server administrator”  
 ![image_2021_10_01T10_01_28_355Z](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/7450f90e1140ab5e3914382ffd5e624e3d433853.png)

I can not figure out what’s is wrong in my implementation. Can someone give me a hint?

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [October 3, 2021, 10:12am UTC](https://forum.collaboraonline.com/t/unable-to-load-documents-certificate-validation-error/628/2 "2021-10-03T10:12:57Z")

</div>

The docker container creates a certificate for itself upon creation, which obviously won’t be trusted. You need to set up a reverse proxy, and specify your valid certificate there.
