Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Fixed
 - 
    1.1.6
 - 
    None
 - 
    None
 - 
    Windows 10 Pro
 
Description
Run test.ps1 script in Windows 10 Pro.
Result:
Scripts finishes with error:
					PS E:\_Tests\test> powershell -ExecutionPolicy ByPass -File test.ps1 -csPdiPlugin E:\_Tests\test
			 | 
		
					PDI 7.1 installation not found
			 | 
		
					PDI 7.1 zip file not found - initiate download
			 | 
		
					System.Management.Automation.MethodInvocationException: Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
			 | 
		
					   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
			 | 
		
					   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
			 | 
		
					   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
			 | 
		
					   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
			 | 
		
					   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
			 | 
		
					   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
			 | 
		
					   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
			 | 
		
					   at System.Net.ConnectStream.WriteHeaders(Boolean async)
			 | 
		
					   --- End of inner exception stack trace ---
			 | 
		
					   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
			 | 
		
					   at CallSite.Target(Closure , CallSite , Object , Object , Object )
			 | 
		
					   --- End of inner exception stack trace ---
			 | 
		
					   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
			 | 
		
					   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
			 | 
		
					   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
			 | 
		
					   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
			 | 
		
Notes:
The select download site seems to have not valid server certificate.
Expected:
Please use the official location to download the pdi distributions:
https://sourceforge.net/projects/pentaho/files/Data%20Integration/
There are sub folders for respective versions.
Attachments
Issue Links
- relates to
 - 
                    
MCOL-1761 Test script for Win is searching for wrong named zip file
-         
 - Closed
 
 -