1
0
mirror of https://github.com/ArcticFoxes-net/Coturn-Docker-Compose synced 2024-12-22 09:41:33 -05:00

Update issuance command

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-08-29 03:58:52 -07:00 committed by GitHub
parent 38312ba26d
commit a845db41e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ Coturn Docker-Compose for Matrix Synapse
1. Start the ACME daemon: `docker-compose up -d acme`. 1. Start the ACME daemon: `docker-compose up -d acme`.
2. Register an account ZeroSSL: `docker exec acme --register-account -m email@domain.tld`. 2. Register an account ZeroSSL: `docker exec acme --register-account -m email@domain.tld`.
3. Generate the certificate: `docker exec acme --issue -d turn.yourdomain.tld --standalone`. 3. Generate the certificate: `docker exec acme --issue -d turn.yourdomain.tld --standalone --ecc --ocsp`.
4. Copy the certificates to the correct location: `docker exec acme --install-cert -d turn.yourdomain.tld --fullchain-file /ssl/fullchain.pem --key-file /ssl/privkey.pem`. 4. Copy the certificates to the correct location: `docker exec acme --install-cert -d turn.yourdomain.tld --fullchain-file /ssl/fullchain.pem --key-file /ssl/privkey.pem`.
5. Set `65534:65534` to own the certificates: `chown -R 65534:65534 ./ssl` 5. Set `65534:65534` to own the certificates: `chown -R 65534:65534 ./ssl`
6. Edit `coturn/turnserver.conf` approprieately. At minimum, you should change `realm` to your TURN server's hostname and set your own `static-auth-secret`. 6. Edit `coturn/turnserver.conf` approprieately. At minimum, you should change `realm` to your TURN server's hostname and set your own `static-auth-secret`.