Unable to down and install active perl


I am getting a certificate error while downloading and installation. Could anyone faced this issue and how it got resolved.

Exception calling “DownloadString” with “1” argument(s): “The request was aborted: Could not create SSL/TLS secure
At line:1 char:5

  • & $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(’ …
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:slight_smile: , MethodInvocationException
    • FullyQualifiedErrorId : WebException

The expression after ‘&’ in a pipeline element produced an object that was not valid. It must result in a command
name, a script block, or a CommandInfo object.
At line:1 char:3

  • & $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(’ …
  • + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : BadExpression

Start with the Network Troubleshooting tip posted at the bottom first. Also, if you’re on a Server version of Windows, try installing to a desktop instead. Servers are often too locked down to be able to use Powershell, and one of the other methods for installation are often needed.