Discussion:
[tryton] Unable to connect using SSL Tryton 4.6 Debian 9
Otto Domínguez
2018-03-13 04:26:43 UTC
Permalink
I have installed Tryton 4.6 on Debian 9 with packages from debian.tryton.org, having previously installed openssl and postgresql packages.
I am able to connect from Linux and Windows clients to it, but then I decided to activate SSL, uncommenting the snakeoil entries in trytond.conf and restarting the trytond-server. Connection always fails. Because I am currently testing, I deleted the whole .config/tryton/4.6/known_hosts even if it is not recommended practice, this did not help either.
Just for the sake of testing, I uninstalled 4.6 and installed 4.2 from Debian 9 repository. This worked flawlessly, with and without SSL. Thing is this did not help much because Debian's 4.2 is still python2 based while 4.6 from debian.tryton.org is python3.
I have searched the forum but found no hints to follow. Please give me some advice.
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/f8c8e668-2901-4074-8ee9-77f6cd20d30c%40googlegroups.com.
Cédric Krier
2018-03-13 09:01:55 UTC
Permalink
Post by Otto Domínguez
I have installed Tryton 4.6 on Debian 9 with packages from debian.tryton.org, having previously installed openssl and postgresql packages.
I am able to connect from Linux and Windows clients to it, but then I decided to activate SSL, uncommenting the snakeoil entries in trytond.conf and restarting the trytond-server. Connection always fails. Because I am currently testing, I deleted the whole .config/tryton/4.6/known_hosts even if it is not recommended practice, this did not help either.
Just for the sake of testing, I uninstalled 4.6 and installed 4.2 from Debian 9 repository. This worked flawlessly, with and without SSL. Thing is this did not help much because Debian's 4.2 is still python2 based while 4.6 from debian.tryton.org is python3.
I have searched the forum but found no hints to follow. Please give me some advice.
Since 4.4 version (issue6270), the client validate the certificate. By
default, it uses the system CA or the one configured.
I guess your snakeoil certificate is not a valid certificate. You should
see this in the log of the client.
--
Cédric Krier - B2CK SPRL
Email/Jabber: ***@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180313090155.GB788%40kei.
Loading...