Unable to find certificate path on external Video Bridge

Hello

I am trying to connect an external video-bridge to a main jitsi instance, however on the /var/log/jitsi/jvb.log I am seeing errors saying it is not able to find certification path to requested target.

/var/log/jitsi/jvb.log from external video-bridge below:
https://pastebin.com/jz1PJUkt

The Jicofo log shows successful health checks.

The conference works when using the internal video bridge, but the external one does not seem to be able to connect.

I am using the same sip-configuration file on the remote instance as the local one with the only difference being MUC_NICKNAME.

The prosody log shows the below:

Apr 24 00:52:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Apr 24 00:52:31 localhost:tls error Error creating contexts for s2sin: error loading private key (system lib)
Apr 24 11:15:15 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Apr 24 11:15:15 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Apr 24 11:15:15 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)
Apr 24 11:15:15 localhost:tls error Error creating context for c2s: error loading private key (Permission denied)
Apr 24 11:15:15 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Apr 24 11:15:15 localhost:tls error Error creating contexts for s2sout: error loading private key (system lib)
Apr 24 11:15:15 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Apr 24 11:15:15 localhost:tls error Error creating contexts for s2sin: error loading private key (system lib)

In my prosody.conf.lua I have it set to listen on all interfaces and can see it using netstat:
tcp 0 0 0.0.0.0:5347 0.0.0.0:* LISTEN 20608/lua5.2

My prosody/conf.d/domain.cfg.lua:
https://pastebin.com/iJSK1kKN

I am on:
OS: Ubuntu 18.04
Prosody version: 0.11.5
jitsi-meet: 2.0.4468-1

Both local and remote video bridges are: jitsi-videobridge2/stable,now 2.1-183-gdbddd169-1

Looking at the prosody logs I have noticed the below:

Apr 24 11:15:15 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)

After changing the owner to prosody:prosody I am seeting the below in prosody.log

Apr 24 12:36:22 c2s556df1f34f80 info Client connected
Apr 24 12:36:22 c2s556df1f34f80 info Client disconnected: ssl handshake error: sslv3 alert certificate unknown
Apr 24 12:36:27 conference.meet.thequiet.one:muc_domain_mapper warn Session filters applied
Apr 24 12:36:27 c2s556df1e16fd0 info Client connected
Apr 24 12:36:27 c2s556df1e16fd0 info Client disconnected: ssl handshake error: sslv3 alert certificate unknown
Apr 24 12:36:31 speakerstats.meet.thequiet.one:speakerstats_component warn A module has been configured that triggers external events.
Apr 24 12:36:31 speakerstats.meet.thequiet.one:speakerstats_component warn Implement this lib to trigger external events.
Apr 24 12:36:32 conference.meet.thequiet.one:muc_domain_mapper warn Session filters applied
Apr 24 12:36:32 c2s556df1f54730 info Client connected
Apr 24 12:36:32 c2s556df1f54730 info Client disconnected: ssl handshake error: sslv3 alert certificate unknown

I have now managed to get this to work by adding the below in /etc/jitsi/videobridge/sip-communicator.properties

org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true