Federation of peertube instances in private network

First of all i want to thanks for great work.
I have many peertube instances (docker) deployed in private network with local Dns (Dnsmasq).
The problem is i cant make federation. I can follow public instances (always keep pending ) but can not follow my own instances in private network.
Error in logs
error[19/01/2020, 15:59:58] Cannot execute job 2 in queue activitypub-follow. { “payload”: { “host”: “[/peertube2”/".mypridomain"/".com:443]", “name”: “peertube”, “followerActorId”: 1 }, “err”: { “message”: “error during request”, “url”: “http://peertube2.mypridomain.com/.well-known/webfinger?resource=acct:peertube@peertube2.mypridomain.com”, “status”: 0 } }

Result of curl my instance from my machine

Found(base) Macbooks-MacBook-Pro-4:~ macbook$ curl -v [ https://peertube4.mypridomain.com]

  • Trying…
  • Connected to( port 443 (#0)
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: //anaconda3/ssl/cacert.pem
    CApath: none
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
  • TLSv1.2 (OUT), TLS alert, unknown CA (560):
  • SSL certificate problem: unable to get local issuer certificate
  • Closing connection 0
    curl: (60) SSL certificate problem: unable to get local issuer certificate
    curl failed to verify the legitimacy of the server and therefore could not
    establish a secure connection to it. To learn more about this situation and
    how to fix it, please visit the web page mentioned above.

Please guide me i just want federation with in my private network
kindly help me, may be i am missing some important or looking at wrong angle.


You need to add your private certificate generate for peertube4 in your OS, so there is not SSL error anymore.

I added and error is finished but not solved the problem still cant make federation

//////// curl response now

(base) Macbooks-MacBook-Pro-4:~ macbook$ curl -v peertube1.cit.local

  • Trying…


  • Connected to peertube1.cit.local ( port 80 (#0)

GET / HTTP/1.1

Host: peertube1.cit.local

User-Agent: curl/7.65.2

Accept: /

  • Mark bundle as not supporting multiuse

< HTTP/1.1 302 Found

< Location: https://peertube1.cit.local:443/

< Date: Thu, 23 Jan 2020 14:54:30 GMT

< Content-Length: 5

< Content-Type: text/plain; charset=utf-8


  • Connection #0 to host peertube1.cit.local left intact