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

Marcio Matos 70 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,184 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,502 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Carl BRUBAKER 0 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

  2. 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

  3. na 121 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


  4. 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.