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. MJ 30 Reputation points
    2024-04-16T15:09:40.3633333+00:00

    I have the same issue on an instance where no SSL certificate is installed.

    I found out that it only occurs when using SSMS 20. In SSMS 19 the creation of the job for SSIS works fine.

    6 people found this answer helpful.

  2. Carl BRUBAKER 25 Reputation points
    2024-07-12T08:27:45.2466667+00:00

    Hooray! It seems to me the issue is solved in the latest release of SSMS version 20.2.30.0.

    5 people found this answer helpful.

  3. MikeyQiaoMSFT-0444 3,190 Reputation points
    2024-05-09T06:40:33.5466667+00:00

    Despite the SSMS version being updated to 20.1, issues with SSIS connectivity still persist as a known problem. The only solution remains to use the older version 19.3.

    Refer to this.

    3 people found this answer helpful.

  4. na 141 Reputation points
    2024-05-29T15:14:11.22+00:00

    The issue is that we are not connecting to a database instance via SSMS for querying the db, we are connecting within an agent job step, to the SSIS catalog.
    There is no option to trust connection or encrypt connection.
    The only option is to use an old version of SSMS
    ssis conn

    2 people found this answer helpful.

  5. MikeyQiaoMSFT-0444 3,190 Reputation points
    2024-04-11T01:47:05.4866667+00:00

    Hi,Marcio Matos

    SSL verification is required whenever you need to connect to a database engine instance.

    This article may help you fix this issue:

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/error-message-when-you-connect?source=recommendations

    Best regards

    Mikey Qiao


    Hope my answer may help you.


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.