Jitsi-meet: portmanager: Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 528

Created on 29 Apr 2020  路  12Comments  路  Source: jitsi/jitsi-meet

This Issue tracker is only for reporting bugs and tracking code related issues.

Description

When I install on jitsi-meet on a fresh server prosody reports errors.

Current behavior

Prosody reports:
portmanager: Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 528

Expected Behavior

systemd[1]: Started Prosody XMPP Server.

Possible Solution

Add these https_certificate and https_key to /etc/prosody/conf.d/jitsi.example.com.cfg.lua

https_certificate = "/etc/prosody/certs/jitsi.example.com.crt";
https_key =  "/etc/prosody/certs/jitsi.example.com.key";

Steps to reproduce

Install jitsi meet on a fresh server.

$ sudo apt install jitsi-meet
$ sudo systemctl status prosody
$ sudo cat /var/log/prosody/prosody.log

Environment details

$ uname -a 
Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux

$ apt list jicofo jitsi-* --installed
jicofo/stable,now 1.0-549-1 all [installed,automatic]
jitsi-meet-prosody/stable,now 1.0.4025-1 all [installed,automatic]
jitsi-meet-turnserver/stable,now 1.0.4025-1 all [installed,automatic]
jitsi-meet-web-config/stable,now 1.0.4025-1 all [installed,automatic]
jitsi-meet-web/stable,now 1.0.4025-1 all [installed,automatic]
jitsi-meet/stable,now 2.0.4468-1 all [installed]
jitsi-videobridge2/stable,now 2.1-183-gdbddd169-1 all [installed,automatic]
invalid

All 12 comments

This is not used and you can ignore it.

Please use the community forum before opening new issues.

That's fine @damencho. As it's an issue and suggested fix where on the community do you want me to add this?

With respect, I'm following contribution guidelines:
https://github.com/jitsi/jitsi-meet/blob/master/CONTRIBUTING.md

I see, we will change that to match the issues template, which states that you should first discuss it in the forum.
A PR is welcome.

No problem, I'll copy this to the community. Thanks.

@damencho the issue header probably needs changing too:

Before posting, please make sure you check community.jitsi.org to see if the same or similar bugs have already been discussed.

General questions, installation help, and feature requests can also be posted to community.jitsi.org.

It states you can also post in the community, it needs to say this:

General questions, installation help, and feature requests should be posted to community.jitsi.org.

portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281

can any one help on this

Find your configuration file in /etc/prosody/conf.d, open it and you should see a line you can uncomment to get rid of that error.

I'm getting this error as well
Jul 31 02:40:50 portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281
Jul 31 02:40:50 portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281

VirtualHost "__OVERWRITE_WITH_HOSTNAME__"
    authentication = "anonymous"
    ssl = {
        key = "/home/ubuntu/efs-ssl/__OVERWRITE_WITH_HOSTNAME__.key";
        certificate = "/home/ubuntu/efs-ssl/__OVERWRITE_WITH_HOSTNAME__.crt";
    }
    modules_enabled = {
        "bosh";
        "pubsub";
        "websocket";
    }
    c2s_require_encryption = false
    consider_bosh_secure = true

VirtualHost "auth.__OVERWRITE_WITH_HOSTNAME__"
    authentication = "internal_plain"
    admins = { "focus@auth.__OVERWRITE_WITH_HOSTNAME__"}
    modules_enabled = {
        "bosh";
        "pubsub";
        "websocket";
    }
    ssl = {
        key = "/home/ubuntu/efs-ssl/auth.__OVERWRITE_WITH_HOSTNAME__.key";
        certificate = "/home/ubuntu/efs-ssl/auth.__OVERWRITE_WITH_HOSTNAME__.crt";
    }
    c2s_require_encryption = false
    consider_bosh_secure = true
Component "conference.__OVERWRITE_WITH_HOSTNAME__" "muc"
Component "jitsi-videobridge.__OVERWRITE_WITH_HOSTNAME__"
    component_secret = "OTBDEV"
Component "focus.__OVERWRITE_WITH_HOSTNAME__"
    component_secret = "OTBDEV"

I'm also receiving this error - anybody ever get it figured out?

Nope. I'm getting it too. There is a line about port 5284, but not 5281, which is what the error is.

I am getting it, too. @TimDowker Did you find the solution?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edmundlaugasson picture edmundlaugasson  路  36Comments

saghul picture saghul  路  106Comments

jans23 picture jans23  路  130Comments

weeman1337 picture weeman1337  路  56Comments

patcon picture patcon  路  51Comments