Learn all about PeerTube v5! ( joinpeertube.org )
You need to generate an openssl secret with:
<span style="color:#323232;">openssl rand -hex 32
</span>
and include the following lines into your /var/www/peertube/config/production.yaml
file after the webserver section:
<span style="color:#323232;"># Secrets you need to generate the first time you run PeerTube
</span><span style="color:#323232;">secrets:
</span><span style="color:#323232;"> # Generate one using `openssl rand -hex 32`
</span><span style="color:#323232;"> peertube: '[put output of openssl rand -hex 3 here]'
</span>
![](https://kbin.cafe/media/cache/resolve/entry_thumb/3f/cc/3fcc7105bee66e969477503c7337e8b720b2d45ca4abc2d35f0253a885a5bb0f.jpg)