SQL SERVER 2022 - certificate error when creating a job for integration services

Marcio Matos 100 Reputation points
2024-04-10T03:35:21.82+00:00

In a test environment with SQL Server 2022 Developer Edition, I am trying to create a job to run an SSIS package.

These same packages have been successfully tested in SQL 2019.

When trying to create the job, configuring it as follows:

General / Owner : Administrator, I also tried with NT SERVICE\SQLSERVERAGENT

New Step:

type: SQL SERVER INTEGRATION SERVICES PACKAGE,

Package Source: SSIS Catalog

Source: localhost

Log on to the server: use windows authentication (only option for localhost)

When I click on the button to select the package, an error occurred:

"

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server, Error: -2146893019)

ADDITIONAL INFORMATION:

The certificate chain was issued by an authority that is not trusted

"

I am logged into the Database Engine using the Windows Authentication option.

Is it really mandatory to use a certificate when running the package on localhost ? Any tips on how to resolve this problem?

Additional Notes: After installing sql 2022, I installed "Microsoft Sql Server Native Client"

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,998 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,591 questions
{count} votes

10 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,706 Reputation points
    2024-04-11T15:17:17.8533333+00:00

    Sqlserver 2022 uses ssl by default. It also uses a self signed (untrusted) certificate by default unless the installer configured trusted certificates.

    you can via the connection string disable encryption, or trust the unsigned certificate. See Scenario 2 option 1.

    https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server?view=sql-server-ver16


  2. Bernard Chayer 0 Reputation points
    2024-05-09T20:00:20.0866667+00:00

    I am facing the same problem using SSMS v20.1 and SQL Server 2019


  3. Carl BRUBAKER 25 Reputation points
    2024-05-17T16:24:25.9966667+00:00

    I am facing the same problem using SSMS v20.1 and SQL Server 2017

    0 comments No comments

  4. Kristina Bolwell 0 Reputation points
    2024-05-22T18:59:17.52+00:00

    We're having the same issue SSMS v20.1. I've tested with instances on SQL 2022, SQL 2014, SQL 2016.

    0 comments No comments

  5. Brenda Woods 0 Reputation points
    2024-06-21T15:01:17.0333333+00:00

    Same issue here. You can log in with SSMS 2.0 with the cert trust or with minimal but it doesn't matter. Jobs steps clearly cannot connect to ssis using this version of SSMS. Does Microsoft ever test any of their software they send to us???? new ssms versions ALWAYS have issues.

    Thanks for the information here, saved me a TON of headaches.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.