You are not logged in.

#1 2016-01-26 06:55:12

x1site
Member
Registered: 2013-10-20
Posts: 60

[solved] Prosody, no encryption

Hello!
Please tell me, what I'm doing wrong? My jabber clients don't see encryption on server and always try to connect without encryption.
Prosody error log is empty. No any errors about certificate and private key now (was permissions). Info log haven't any useful information.
I forced encryption, without it I can connect.

Jan 26 12:41:14 general info    Hello and welcome to Prosody version hg:8e64e7b82928
Jan 26 12:41:14 general info    Prosody is using the select backend for connection handling
Jan 26 12:41:14 portmanager     info    Activated service 's2s' on [::]:5269, [*]:5269
Jan 26 12:41:14 portmanager     info    Activated service 'c2s' on [::]:5222, [*]:5222
Jan 26 12:41:14 portmanager     info    Activated service 'legacy_ssl' on no ports
Jan 26 12:41:14 mod_posix       info    Prosody is about to detach from the console, disabling further console output
Jan 26 12:41:14 mod_posix       info    Successfully daemonized to PID 17558
Jan 26 12:41:18 c2s1809bb0      info    Client connected
Jan 26 12:41:24 c2s1809bb0      info    Client disconnected: closed
Jan 26 12:44:41 c2s1887720      info    Client connected
Jan 26 12:44:44 c2s1887720      info    Client disconnected: closed
Jan 26 12:45:01 c2s19488b0      info    Client connected
Jan 26 12:45:05 c2s19488b0      info    Client disconnected: closed

prosody.cfg.lua

daemonize = true
admins = { "s@s"}
 pidfile = "/var/run/prosody/prosody.pid"
modules_enabled = {
	
		"roster"; 
		"saslauth"; 
		"tls"; 
		"dialback"; 
		"disco"; 	
		"private"; 
		"vcard"; 	
		"version"; 
		"uptime"; 
		"time"; 
		"ping"; 
		"pep"; 
		"register"; 	
		"admin_adhoc"; 		
}
modules_disabled = {	
}
allow_registration = false
c2s_require_encryption = true
s2s_secure_auth = false
authentication = "internal_plain"
log = {
	info = "prosody.log"; 
	error = "prosody.err";
}
VirtualHost "host"
	ssl = {
		key = "/etc/prosody/certs/sat.key";
		certificate = "/etc/prosody/certs/sat.cert";		 
	}

opened ports: 5222 5269

Last edited by x1site (2016-01-26 09:40:39)


awesome + rofi

Offline

#2 2016-01-26 09:40:29

x1site
Member
Registered: 2013-10-20
Posts: 60

Re: [solved] Prosody, no encryption

gajim remebered that server without ssl encryption


awesome + rofi

Offline

Board footer

Powered by FluxBB