Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

"The server certificate on the destination computer has the following errors: Encountered an internal error in the SSL library" while trying to enter a PowerShell session using SSL

Posted on by 5

Hi Experts,

We are having an issue trying to establish a PowerShell session between two machines. so Machine A is on prem and Machine B is in our Azure tenant. Machine A tries to open a powershell remote session on machine B and gets following error 

Connecting to remote server failed with the following error message : "The server certificate on the destination computer has the following errors:
Encountered an internal error in the SSL library"

To test we used a simple command Enter-PSSession -Computername XXXX -UseSSL

This happens only when we use SSL and session is open if we do not provide a -UseSSL with Enter-PSSession command.

The connectivity is available and the service account used is an admin on the target machine (we can open a RDP session) so no issues there.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans