My test system:
- LibreOffice 188.8.131.52 on Ubuntu 12.10 (32bit)
- Alfresco 4.0.d on CentOS release 5.9
First, I test cmis support with LibreOffice 4 and Alfresco 4.0.d like this:
server type: Alfresco 4
binding url: http://alfresco1.example.com:8080/alfresco/cmisws/RepositoryService?wsdl
This work fine.
In my next test I connet over https to the alfresco CMIS web service:
server type: Alfresco 4
binding url: https://alfresco2.example.com/alfresco/cmisws/RepositoryService?wsdl
This test has the apache2 mod_ssl between the LiberOffice and the Alfresco. If I click the reload button for get the list of all repositories, then LibreOffice work for a half minute and don't found any repositories. The log from apache2 mod_ssl say, that the wsdl file has successful downloaded. A browser on the same computer loads the WSDL file also successful.
Operating System: Ubuntu
Version: 184.108.40.206 release
I'm experiencing the same problems with a similar setup as Jonas.
LibreOffice 220.127.116.11 on Windows and LibreOffice 18.104.22.168x64 on Ubuntu.
Apache2 with mod_ssl and mod_ajp as proxy in front of Alfresco.
This is critical for real production implementations that this works over SSL.
CMIS problem: mine, though unconfirmed yet: libcmis and LibreOffice are known to work over SSL.
Could you check what version of curl is used (system one or not)?
Curl is not installed in my ubuntu test system. I think, I use the curl module from LibreOffice.
(In reply to comment #2)
> CMIS problem: mine, though unconfirmed yet: libcmis and LibreOffice are
> known to work over SSL.
> Could you check what version of curl is used (system one or not)?
Since this is reproducable on both Ubuntu and Windows I guess its the LibreOffice one. I have curl installed on my Ubuntu system though (both binary and libcurl of version 7.27.0).
I could reproduce here with a self-signed certificate and tomcat directly serving the pages on https connector.
There is clearly a problem with the SSL certificates verification: libcurl blocks the requests by default. Could you please tell me if your certificate is self-signed or give me the CA for it (as it may not be in the curl default trusted CA list). Can you also try with a valid certificate?
I think libcmis will need to be expanded for it to work with those problems.
Same problem for me with LibreOffice 22.214.171.124 (Win7) and Alfresco 4.0.d / (CentOS 6.3) with mod_proxy (apache) doing the 8080/tomcat to 443/apache
I tried this towards Alfrescos open cmis server: cmis.alfresco.com
Works on both http and https there, so this seems to be related to self-signed certificates just as Cedric proposed.
To test on the cmis.alfresco.com make sure you point the path to a sub-folder since there are alot of folders in the root on the server making the folder list not load in LibreOffice (or its just extremely slow).
You can create your own test-folder using the CMIS workbench tool at https://cmis.alfresco.com/ or just use mine: /mars-test
I will try and test to other https sites if where the certificates are valid.
Is it a big process to allow also self-signed connections in libcmis?
Test LibreOffice 4.1 today in the office.
We use as well a self-signed certificate and LibreOffice do not load the repository after ask for the login (username and password).
How can I use LibreOffice CMIS with a self-signed certificate?
LibreOffice 126.96.36.199 on Debian 7.1 amd64
Fixed by this commit (needing not-yet-released libcmis 0.4.0)
does anyone know when it will release?
I install the CA of my server, but CMIS over https do not work.
Which CA database use libcmis?
marking this fixed based on comment 9
does anyone know in which version this is fixed?
None yet. It will be fixed in master when libcmis-0.4.x is imported. I am pretty sure that is going to happen for 4.2.
Created attachment 89953 [details]
Error https CMIS
Testing today with LibreOffice Version: 188.8.131.52.beta1
Build ID: f4ca7b35f580827ad2c69ea6d29f7c9b48ebbac7
Not working for me :-(
My root CA certificate is self signed, maybe that's the problem?
"The specified device is invalid."
I would like to join this ticket as I'm working on the LibreOffice 4.2.6 release' qualification for the next MIMO official delivery.
I'm focusing on the LO server integrating CMIS coupled with Alfresco 4.2 and 5 for providing online document checkout/editing/modifiying/checkout directly from the repository contentstore.
Only Linux*s 64 bits are targeted.
It seems this is fixed and planed in LibreOffice 4.2.
However, the last test failed with 184.108.40.206.beta1.
May you please confirm if it is now fixed and available in LibreOffice 4.2.6?
Moreover, do you think it is now possible to use the LibreOffice server instance coupled with the Alfresco server one in order to manage from Share inside the webbrowser the ODF opening?
I thank you very much for your answer.
Best regards, V'n'G
You should have a look at bug #72277 too for a complete overview of the fixes for SSL / CMIS fixes. And of course, you can test and report problems instead of asking here.
And the issues should be solved in 4.3.1 and later versions.
If you are in need of a share-integration you could look at my addon for it: http://addons.alfresco.com/addons/libreoffice-online-edit-module