"SSL certificate could not be checked for revocation" error when you connect through Windows Remote PowerShell in Office 365 dedicated
Contenuto fornito da Microsoft
Si applica a: Microsoft Business Productivity Online DedicatedMicrosoft Business Productivity Online Suite Federal
When you try to connect to your managed environment by using Windows Remote PowerShell in Microsoft Office 365 dedicated, you receive the following error message:
The SSL certificate could not be checked for revocation. The server used to check for revocation might be unreachable.
This issue occurs if the Microsoft Exchange server from which you are running Windows Remote PowerShell does not have access to the Internet to complete a Secure Sockets Layer (SSL) certificate revocation check.
To resolve this issue, configure your session object to skip the revocation check. To do this, follow these steps:
Declare a variable that's named $cred, and then set the value for the variable to the results of the Get-Credential prompt (your user name and password). To do this, follow these steps:
Type the following cmdlet in Windows Remote PowerShell, and then press Enter:
$cred = Get-Credential
When the Get-Credential cmdlet prompts you for credentials, type the credentials that you use to authenticate the remote Exchange server. The credentials that you type are stored in the $cred variable.
Declare a variable that's named $sessionOption, and then set the value for the variable to skip the revocation check. To do this, run the following cmdlet in Remote PowerShell: