Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

ownCloud SSL self signed certs

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

Obi

Neophyte
Joined
Oct 16, 2014
Messages
4
I just installed StartSSL SSL certificate into owncloud plugin.
1. Get FQDN for your OwnCloud plugin. FQDN is required for proper SSL certificates.
2. Get certificate, private key and intermediate certificate into /usr/pbi/owncloud-amd64/etc/apache22 (I think you need intermediate to get free StartSSL and Firefox play nice togheter)
3. Changed /usr/pbi/owncloud-amd64/etc/apache22/extra/httpd-ssl.conf to match certificate files
After this tested first time, HTTPS worked fine but got that same WebDAV error.
4. Add your FQDN to OwnCloud jail /etc/hosts file and point to your OwnCloud jail IP. This is because OwnCloud couldn't resolve the FQDN properly (because it was pointing into WAN IP and not NATed IP of OwnCloud plugin)
After this no more WebDAV errors.

So I haven't changed hostname settings and I don't have FQDN defined in Apache settings.

Important thing is that when you connect to your OwnCloud with HTTPS, address you use to connect needs to match to Common Name of certificate. The matching is done at client side, not server. And I think WebDAV tries to use the same address you are using to make loopback connection somewhere else (?) and if server does not resolve it back to right IP, it fails.
 

erodz1892

Junior Member
Joined
Mar 25, 2014
Messages
21
Hello, sorry to ask this noob question. I am looking to get an owncloud server however I am ok at tech. I tried installing it on windows 7 and the SSL is a hassle, now I have build a freenas server thats not running yet if I install the Owncloud plugin and set it up will I have to install the SSL manually ? or will it do it automatically? how do i secure the data over the wire? thanks in advance
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Hello, sorry to ask this noob question. I am looking to get an owncloud server however I am ok at tech. I tried installing it on windows 7 and the SSL is a hassle, now I have build a freenas server thats not running yet if I install the Owncloud plugin and set it up will I have to install the SSL manually ? or will it do it automatically? how do i secure the data over the wire? thanks in advance
There is no "automatic" for SSL. You must always do some configuring yourself. One way to secure the data over the wire is with SSL.

Sorry, but that's all I'm going to say as this is a guide, and your questions are not related to the guide. Please start your own topics if you have further questions.
 
Status
Not open for further replies.
Top