Set Trusted Domain

Bug #1315973 reported by Charles Butler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
owncloud (Juju Charms Collection)
Status tracked in Precise
Precise
Confirmed
High
Unassigned
Trusty
Confirmed
High
Unassigned

Bug Description

THere is a configuration option in $OWNCLOUD_ROOT/config/config.php for trusted domain. By default this is set to the public IP of the machine. This will directly conflict with a mapped domain (eg: files.example.com) during the login sequence and redirect the user to a differing domain.

If the website is protected by an SSL certificate, this can be problematic as the certificate will not match with the provided 'trusted domain' in the configuration.

Can we expose this as a configuration option or update the trusted domain with the exposed hostname of our owncloud instance?

Tags: papercut
Revision history for this message
José Antonio Rey (jose) wrote :

I have confirmed this bug, but the the config.php file is generated once you set up the instance for the first time. This means that the value for 'trusted domain' will be grabbed from the domain or IP address from, not from the instance's public-address. Not sure how can I approach this one.

Changed in owncloud (Juju Charms Collection):
status: New → Confirmed
importance: Undecided → Medium
José Antonio Rey (jose)
Changed in owncloud (Juju Charms Collection):
importance: Medium → High
José Antonio Rey (jose)
Changed in owncloud (Charms Trusty):
status: New → Confirmed
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.