Test-WebServerSSL.ps1:26 char:2

Oct 7, 2014 at 6:48 PM
I tried to test basic functionality with Test-WebServerSSL, but I got this error:

Exception calling "SendRequest" with "0" argument(s): "Object reference not set to an instance of an object."
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSPKI\Client\Test-WebServerSSL.ps1:26 char:2
  • $Response.SendRequest()
  • ~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : NullReferenceException
Oct 7, 2014 at 6:54 PM
It must be the firewall issue, I was able to test another url internally.
Coordinator
Oct 7, 2014 at 7:12 PM
can you provide the command line you are trying to use?
Oct 7, 2014 at 7:22 PM
PS C:> Test-WebServerSSL -URL ebay.com
Coordinator
Oct 7, 2014 at 7:28 PM
This is a bug. Main ebay's web site do not support HTTPS, as the result server returns nothing (null), while the code attempts to access certificates. If you try signin.ebay.com, then it should work.
Marked as answer by marnow on 10/8/2014 at 5:20 AM
Coordinator
Oct 7, 2014 at 7:29 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Oct 8, 2014 at 12:20 PM
It does work! Thank you!