Error connecting to [myinstance]: The received certificate has expired #8001
-
Hi, don't understood the meaning of this error, calling the command below: Get-DbaDbSpace -SqlInstance myinstance | Format-Table Error connecting to [myinstance ]: The received certificate has expired I got tens instances and only in this one I have problem with dbatools. Thanks Alen |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
seems like there's an expired cert serverside. did you try connecting with SSMS checking if the cert is valid (Encrypt connection ticked on advanced tab, trust server certificate unticked ) ? |
Beta Was this translation helpful? Give feedback.
-
This relates to the pinned Discussion -- Microsoft changed the way things work to be more secure, which I appreciate. But this can be overridden in our configs without having to specify the trust over and over. Check out the "New SMO Library and Certificate Trust" post for more information. |
Beta Was this translation helpful? Give feedback.
This relates to the pinned Discussion -- Microsoft changed the way things work to be more secure, which I appreciate. But this can be overridden in our configs without having to specify the trust over and over. Check out the "New SMO Library and Certificate Trust" post for more information.
#7680