Skip to content

Commit 722e177

Browse files
Merge pull request #11896 from nextcloud/docs/10686/local-federation-explained
docs(federation): Document how to do local federation
2 parents 5b14e12 + 2024e3b commit 722e177

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,27 @@ You can enable HMR (Hot module replacement) to avoid page reloads when working o
6363

6464
We are also available on [our public Talk team conversation](https://cloud.nextcloud.com/call/c7fz9qpr), if you want to join the discussion.
6565

66+
### 🌏 Testing federation locally
67+
68+
When testing federated conversations locally, some additional steps might be needed,
69+
to improve the behaviour and allowing the servers to talk to each others:
70+
71+
1. Allow self-signed certificates
72+
```shell
73+
occ config:system:set sharing.federation.allowSelfSignedCertificates --value true --type bool
74+
occ security:certificates:import /path/to/the/nextcloud.crt
75+
occ security:certificates
76+
```
77+
2. Allow local servers to be remote servers
78+
```shell
79+
occ config:system:set allow_local_remote_servers --value true --type bool
80+
```
81+
82+
Additionally you can enable debug mode that will list local users as federated users options
83+
allowing you to federate with accounts on the same instance. Federation will still work
84+
and use the full federation experience and opposed to the federated files sharing **not**
85+
create a local share instead.
86+
6687
### 🪄 Useful tricks for testing video calls
6788

6889
#### 👥 Joining a test call with multiple users

0 commit comments

Comments
 (0)