Relative Content

Tag Archive for powershellconnectioncertificate

Is there a way to test connection to web in powershell, with and without certificate?

I know that if the web service was installed with certificate, thus simple test connection in powershell like Invoke-WebRequest to that https site can give me whether it’s possible to connect there or not. However I am wondering whether it’s possible to test connection to that web without the certificate, like can it happen that connection will fail with certificate but will succeed without, because of certificate validation reasons?

Is there a way to test connection to web in powershell, with and without certificate?

I know that if the web service was installed with certificate, thus simple test connection in powershell like Invoke-WebRequest to that https site can give me whether it’s possible to connect there or not. However I am wondering whether it’s possible to test connection to that web without the certificate, like can it happen that connection will fail with certificate but will succeed without, because of certificate validation reasons?