Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Encrypting IBM i ODBC Connections from Linux with TLS/SSL

September 16, 2022/0 Comments/in ODBC, Open Source /by Alan Seiden

ODBC with Db2 for IBM i

ODBC connections between Linux and IBM i should be encrypted to keep their Db2 data safe in transit.

To encrypt ODBC data, IBM recommends the industry-standard TLS encryption protocol (the successor to SSL).

As of version 1.1.0.27, the IBM i ODBC driver supports use of the SSL keyword for Linux as well as Windows.

When SSL=1 is specified either in odbc.ini or an ODBC connection string, the IBM i server will respond from a prestarted ODBC job named QZDASSINIT (the second “S” stands for “secure”) rather than the usual QZDASOINIT job.

Assign a TLS certificate to database server

You’ll also need to assign a certificate to the database server; by default, none is assigned. See this IBM support article for how to provision and assign certificates to the host servers; in particular, you want to assign a certificate to these host servers at a minimum: QIBM_OS400_QZBS_SVR_DATABASE, QIBM_OS400_QZBS_SVR_RMTCMD, QIBM_OS400_QZBS_SVR_SIGNON, and QIBM_OS400_QZBS_SVR_CENTRAL .

If you use a self-signed certificate, you’ll also have to load the self-signed certificate into your system Certificate Authority trust.

For older driver versions

For version 1.1.0.26 and older of the Linux driver, without SSL available, IBM provides instructions on setting up a secure tunnel from a Linux system to IBM i at https://www.ibm.com/support/pages/node/869822. TIP: In case it’s not clear in IBM’s article, applications should use the DSN name that was set up in the Linux odbc.ini file. We have helped clients set up secure ODBC tunnels for applications written in PHP and Node.js. It would work the same for Python and other languages as well.

Tags: IBM i, IBMi, IBMiOSS, node.js, odbc, PHP, Python, security, SSL, stunnel, TLS
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2022-09-16 11:05:412023-05-04 10:55:06Encrypting IBM i ODBC Connections from Linux with TLS/SSL
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Mitigating the eMudhra Intermediate CA Compromise with IBM i
  • Critical php2shell Security Update Available in Seiden PHP+ Server
  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Protecting IBM i and Web Applications from Modern Threats
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: Use IBM’s Apache Directive Finder Instead of Google Link to: Use IBM’s Apache Directive Finder Instead of Google Use IBM’s Apache Directive Finder Instead of Google Link to: Learn about Merlin for IBM i Link to: Learn about Merlin for IBM i Learn about Merlin for IBM i
Scroll to top Scroll to top Scroll to top