May be a bit late for the questioner but the "connection rejected by remote interface" might still be current topic as there was a change in the firebird api from debian 8 to 9/10.
The problem does also depend on which interbase/firebird-client-library to use. While in debian 8 one has libfbclient2 in Firebird API Version 2.5, starting from Debian 9 this libfbclient2 been upgraded to Firebird API 3.0. libFBclient ist the client-library to connect to Firebird / Interbase-Servers.
If, now, you have an old-versioned server, as we do, namely Interbase XE3 from year 2012, the new firebird-library in version 3.0 can not connect anymore to this old server type, while the previous library 2.5 can.
So one solution for us when migrating from Debian 8 to Debian 10 was to install the old version of libfbclient2 from debian 8 to the new Debian 10 system and then, afterwards, install the higher language clients, e.g. php7.3-interbase.
When installing the system in this manner, the php 7.3. interbase client shows no problems connecting the the old interbase server.
Here is a small instruction on how to install libfbclient2 (api version 2.5 from debian 8) to a new debian 9/10 system and to use it with php7.3:
First, uninstall all higher level language client packages, like php7.3-interbase and all firebird common/client/server-stuff.
Then download and first install via dpkg calls the old libfbclients from debian 8. They can be found hier:
https://packages.debian.org/jessie/libfbclient2
However, this package depends on the 4 following packages:
multiarch-support
libc6
firebird2.5-common
firebird2.5-common-doc
While the first two ones are in suitable version already available in Debian 10 and could be installed right from there, the latter two need to be downloaded from the debian 8 jessie - archive and need to be installed first.
libfbclient.so
are you using? The one from Firebird 3, or the one from Firebird 2.5 or earlier? If you use the one from 2.5 or earlier, you need to configure Firebird 3 to accept insecure connections (although I believe that would give a different error than the one in your message). – Kappalibfbclient.so
and replace them with a file from the server folder/opt/firebird/lib
. The error is repeated. Where I can allow accept insecure connections? No found same param infirebird.conf
. No other versions of firebird don't installed before. – SalesWireCrypt
(which defaults toRequired
), set it toEnabled
orDisabled
instead. However if you are already using the libfbclient.so from Firebird 3, this isn't going to fix it. – Kappafirebird.conf
. By default was commented. Uncomment and change toWireCrypt = Disabled
, and uncomment and changeAuthServer = Legacy_Auth, Srp, Win_Sspi
andAuthClient = Legacy_Auth, Srp, Win_Sspi
. Now works. Thx. – Sales