-
Vijay V
- PowerBuilder
- Thursday, 26 November 2026 05:50 AM UTC
Hi Appeon Team,
We would like to clarify the TLS encryption support in PowerBuilder 2022 R3 when connecting to Microsoft SQL Server.
Previous Environment:
- PowerBuilder: 2017
- Database interface: DBMS=SNC SQL Native Client (OLE DB)
During a client penetration-testing assessment of the previous version, unencrypted communication between the PowerBuilder application and SQL Server was identified.
Current Environment (After Migration):
- PowerBuilder: 2022 R3
- Database interface: DBMS=MSOLEDBSQL SQL Server (OLE DB)
- Microsoft OLE DB Driver: Version 18
Currently, we are using the following SQLCA.DBParm configuration:
SQLCA.dbParm = "DBTextLimit='32000',TrimSpaces=1,ProviderString='MARS Connection=False'," + &
ls_Host + ",Database='" + SQLCA.Database + "'," + &
"FailoverPartner='" + ls_FailOverServer + "'," + &
"Initial Catalog='" + SQLCA.Database + "'"
We would appreciate your clarification on the following questions:
1. Does PowerBuilder 2022 R3 with the MSOLEDBSQL Driver 18 support TLS encryption by default, or is any additional configuration required at the PowerBuilder level to enable it?
2. Can TLS encryption be enabled entirely through PowerBuilder configuration, without making any changes to SQL Server, particularly without installing or configuring an SSL/TLS certificate on the SQL Server?
3. Is an SSL/TLS certificate mandatory on SQL Server to establish an encrypted database connection? If so, can a self-signed certificate be used, or is a certificate issued by a trusted Certificate Authority required?
4. Does PowerBuilder provide any built-in TLS encryption functionality, or is the encryption and certificate validation entirely handled by the Microsoft OLE DB Driver and SQL Server?
5. If additional PowerBuilder configuration is required, could you please provide the recommended SQLCA.DBParm settings for enabling TLS encryption and validating the SQL Server certificate?
6. Is there any difference in TLS encryption support or default behaviour between PowerBuilder 2017 using SQL Native Client and PowerBuilder 2022 R3 using MSOLEDBSQL Driver 18?
Our main objective is to understand whether migrating from PowerBuilder 2017 to PowerBuilder 2022 R3 with MSOLEDBSQL Driver 18 provides TLS encryption capability by default, or whether additional PowerBuilder and SQL Server configurations (including certificate installation) are necessary to establish encrypted and secure database communication.
Please provide your technical recommendations.
Thanks,
Vijay V
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.