-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New-PSSession on Linux to office365.com fails on Debian 9 due to missing symlinks for libssl and libcrypto #7598
Copy link
Copy link
Closed
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
Description
Client PSRP for Linux fails on a clean Debian 9 install of PowerShell due to the inability of libmi to resolve libssl and libcrypto. While this worked as-is on Debian 8, Debian 9 fails unless symlinks for these two libraries are created in the $PSHOME directory.
To work around the problem, create the following symlinks in the PSHOME directory. Verify the version of ssl and crypto that are installed and adjust the references accordlingly.
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 libssl.so.1.0.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 libcrypto.so.1.0.0Steps to reproduce
$uri = 'https://outlook.office365.com/powershell-liveid'
$cred = Get-Credential
$session = New-PSSession -ConnectionUri $uri -ConfigurationName Microsoft.Exchange -Credential $cred -Authentication Basic -AllowRedirectionExpected behavior
The connection succeeds.
Actual behavior
The following error is reported:
This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is either not installed or unavailable for this system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build