Error configuration with dns name


#1

Hi,
I’m trying to configure the jitsi environment.
my jitsi_test.mydom.com.cfg.lua is:

VirtualHost “jitsi_test.mydom.com”
authentication = “anonymous”
ssl = {
key = “/var/lib/prosody/jitsi_test.mydom.com.key”;
certificate = “/var/lib/prosody/jitsi_test.mydom.com.crt”;
}
modules_enabled = {
“bosh”;
“pubsub”;
}
c2s_require_encryption = false
VirtualHost “auth.jitsi_test.mydom.com”
ssl = {
key = “/var/lib/prosody/auth.jitsi_test.mydom.com.key”;
certificate = “/var/lib/prosody/auth.jitsi_test.mydom.com.crt”;
}
authentication = “internal_plain”
admins = { “focus@auth.jitsi_test.mydom.com” }
Component “conference.jitsi_test.mydom.com” “muc”
Component “jitsi-videobridge.jitsi_test.mydom.com”
component_secret = “password123”
Component “focus.jitsi_test.mydom.com”
component_secret = “password123”

when I launch prosodyctl cert generate jitsi_test.mydom.com I have the following error:
Choose key size (2048):
Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Key written to /var/lib/prosody/jitsi_test.mydom.com.key
lua5.1: /usr/lib/prosody/util/openssl.lua:110: attempt to concatenate a nil value
stack traceback:
/usr/lib/prosody/util/openssl.lua:110: in function ‘add_sRVName’
/usr/lib/prosody/util/openssl.lua:134: in function ‘from_prosody’
/usr/bin/prosodyctl:664: in function ‘config’
/usr/bin/prosodyctl:752: in function </usr/bin/prosodyctl:745>
(tail call): ?
/usr/bin/prosodyctl:861: in main chunk
[C]: ?

I don’t understand why I have this error.
thank you very much

Angelo