OpenSSL SSL_connect: Connection reset by peer in connection to zoom.us:443

We installed and configured Zoom plugin on Moodle 4.1.1+ (Build: 20230210) and setup server-to-server oAuth. Zoom plugin is working as expected. We copied complete site to another machine and another network. Database was copied by dumping database from the first site to an SQL script, replacing all URLs from an old hostname to new one, restoring database form the SQL script to new server. On new server we’re getting this error as soon as we open Zoom plugin settings:

Connection status: Connection failed: OpenSSL SSL_connect: Connection reset by peer in connection to zoom.us:443

Zoom settings are identical on both server (Zoom account ID, Zoom client ID, Zoom client secret, etc…). First server (the one with Zoom plugin working without any errors) uses PHP Version 8.0.30, and problematic one uses PHP version 8.1.2. Could that be the problem?

Moodle debug (highest details setting) shows no errors or warnings.
Any ideas or help are appreciated.