MenacingM
Dabbler
- Joined
- Aug 21, 2013
- Messages
- 19
For those of you who installed ownCloud from the FreeNAS plugin repo, you are likely experiencing problems syncing with ownCloud clients. The issue is related to a self signed cert that is installed with the PBI that is missing a commonName (FQDN) field.
I suspect that the SSL certificate installed with ownCloud will be resolved in the next release of the plugin in the FreeNAS plugin repo.
Until then, or if you simply prefer to create your own cert that matches your hostname, you can use this guide to create your own self signed certs.
The following guide assumes you have installed, configured, and are running the ownCloud plugin.
SSH into your FreeNAS and do the following:
Let me know how it works for you guys. Feedback appreciated.
Sent from my iPhone using Tapatalk - now Free
I suspect that the SSL certificate installed with ownCloud will be resolved in the next release of the plugin in the FreeNAS plugin repo.
Until then, or if you simply prefer to create your own cert that matches your hostname, you can use this guide to create your own self signed certs.
The following guide assumes you have installed, configured, and are running the ownCloud plugin.
SSH into your FreeNAS and do the following:
Code:
jls JID IP Address Hostname Path 6 - owncloud_1 /mnt/ztank/jails/owncloud_1
Based on the JID of your Owncloud Jail, do the following:
Code:jexec 6 /bin/tcsh cd /usr/pbi/owncloud-amd64/etc/apache22/ openssl req -new -x509 -days 3650 -nodes -out owncloud.crt -keyout owncloud.key
Answer the questions and set common name to your intended FQDN. You should now have a owncloud.crt and owncloud.key file
Code:ee /usr/pbi/owncloud-amd64/etc/apache22/extra/httpd-ssl.conf
Now look in the file for the text below and replace server with owncloud
Code:SSLCertificateFile "/usr/pbi/owncloud-amd64/etc/apache22/server.crt" SSLCertificateKeyFile "/usr/pbi/owncloud-amd64/etc/apache22/server.key"
OPTIONAL: Set your hostname by issuing the following from with your jail:
Code:hostname whatever.wherever.com
NOTE: If you want this change to be persistent, you must make the change in the jails /etc/rc.conf
Restart Apache and you should be good to go.
Code:/usr/local/etc/rc.d/apache22 restart
Let me know how it works for you guys. Feedback appreciated.
Sent from my iPhone using Tapatalk - now Free