JWT Authenticaton on Debian 10 with Apache 2.4.38

Hello Community…

I tried to get the JWT authentication working, but with no luck at this point…
I already searched for solutions here… but didn’t find it.

I installed JWT Prospdy Plugin as desribedin the docs.
The Token seems to be valid read, becaus it creates a roo and the Userinfo insde the Token ist correct; i can See it in the UI … but there is a black screen no video no audio…

the Prosody-Log states there seems to be clear, that there are is no basexx module…
or is somthing else missing ??

“…Oct 01 09:35:19 certmanagererrorSSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost) …”

Thank you

Oct 01 09:35:19 modulemanager error Error initializing module ‘auth_token’ on ‘jitsitest.mydomain.com’: /usr/lib/prosody/util/startup.lua:158: module ‘basexx’ not found:Failed loading module basexx in LuaRocks rock basexx 0.4.1-1

no field package.preload[‘basexx’]

no file ‘/usr/lib/prosody/basexx.lua’

no file ‘/usr/local/share/lua/5.1/basexx.lua’

no file ‘/usr/local/share/lua/5.1/basexx/init.lua’

no file ‘/usr/local/lib/lua/5.1/basexx.lua’

no file ‘/usr/local/lib/lua/5.1/basexx/init.lua’

no file ‘/usr/share/lua/5.1/basexx.lua’

no file ‘/usr/share/lua/5.1/basexx/init.lua’

no file ‘/var/lib/prosody/.luarocks/share/lua/5.1/basexx.lua’

no file ‘/var/lib/prosody/.luarocks/share/lua/5.1/basexx/init.lua’

no file ‘/usr/lib/prosody/basexx.so’

no file ‘/usr/local/lib/lua/5.1/basexx.so’

no file ‘/usr/lib/x86_64-linux-gnu/lua/5.1/basexx.so’

no file ‘/usr/lib/lua/5.1/basexx.so’

no file ‘/usr/local/lib/lua/5.1/loadall.so’

no file ‘/var/lib/prosody/.luarocks/lib/lua/5.1/basexx.so’

stack traceback:

[C]: in function ‘_real_require’

/usr/lib/prosody/util/startup.lua:158: in function ‘require’

…/share/jitsi-meet/prosody-plugins/token/util.lib.lua:4: in main chunk

(tail call): ?

…/share/jitsi-meet/prosody-plugins/mod_auth_token.lua:8: in main chunk

[C]: in function ‘xpcall’

/usr/lib/prosody/core/modulemanager.lua:200: in function ‘do_load_module’

/usr/lib/prosody/core/modulemanager.lua:283: in function ‘load’

/usr/lib/prosody/core/usermanager.lua:90: in function ‘?’

/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>

(tail call): ?

/usr/lib/prosody/core/hostmanager.lua:108: in function ‘activate’

/usr/lib/prosody/core/hostmanager.lua:58: in function ‘?’

/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>

(tail call): ?

/usr/lib/prosody/util/startup.lua:368: in function ‘prepare_to_start’

/usr/lib/prosody/util/startup.lua:594: in function ‘f’

/usr/lib/prosody/util/async.lua:139: in function ‘func’

/usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125>

Oct 01 09:35:19 modulemanager error Error initializing module ‘token_verification’ on ‘conference.jitsitest.mydomain.com’: /usr/lib/prosody/util/startup.lua:158: module ‘basexx’ not found:Failed loading module basexx

Oct 01 09:35:19 certmanagererrorSSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)

Oct 01 09:35:19 portmanagererrorError creating TLS context for SNI host localhost: error loading private key (Permission denied)

Oct 01 09:35:19 certmanagererrorSSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)

Oct 01 09:35:19 portmanagererrorError creating TLS context for SNI host localhost: error loading private key (system lib)

Oct 01 09:35:19 certmanagererrorSSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)

Oct 01 09:35:19 localhost:tlserrorError creating context for c2s: error loading private key (system lib)

This post could be helpful

That has helped… :wink:

now I have to check my JWTs…