Hello guys,
I'm not able to successfully setup log shipping between two servers in one domain.
After configuration, DB full backup and restore to secondary is completed fine.
On primary LS_Backup_DBNAME scheduled job is failing with following errors>
2020-09-13 21:13:07.38 ----- START OF TRANSACTION LOG BACKUP -----
2020-09-13 21:13:07.48 Error: Could not retrieve backup settings for primary ID '682f25fc-7e6e-4886-9d9a-06bb2d275293'.(Microsoft.SqlServer.Management.LogShipping)
2020-09-13 21:13:07.48 Error: Failed to connect to server XXXXXX.(Microsoft.SqlServer.ConnectionInfo)
2020-09-13 21:13:07.48 Error: 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.)(.Net SqlClient Data Provider)
2020-09-13 21:13:07.48 Error: The certificate chain was issued by an authority that is not trusted()
2020-09-13 21:13:07.48 ----- END OF TRANSACTION LOG BACKUP -----
Exit Status: 1 (Error)
This error I get when I tried to run job command from LS_BACKUP_XXX in cmd sqllogship.exe -Backup 9CB190E0-E70C-45DA-8EE4-93C4370E0F48 -server XXXX
Forced protocol Encryption set to NO
There is no Certificate in Configuration Manager for SQL server
SQL server agent running under domain account which is sysadmin with full rights in shared folder for backup/restore