When you want to install a powershell module and you get this error message.

Solution. Run Powershell as admin and enter

[Net.ServicePointManager]::SecurityProtocol = “tls12”

Now you can install the powershell module