Tag Archives: TLS

Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.

Hi,

Invoke-RestMethod or Invoke-WebRequest uses by default TLS 1.0. This protocal is outdated and would be not accepted by the most Webservers anymore.

Usually this results in the following error message:
The underlying connection was closed: An unexpected error occurred on a receive.

Continue reading Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.

Advertisment to support michlstechblog.info

VMware Workstation: Generate a new selfsigned SSL/TLS certificate

Hi,

the VMware Workstation does not provide a program or script to generate a new pair of key and selfsigned certificate.

If’ve written a batch file which builds a new one. The scripts assumes that the Workstation is installed in the default folder C:\Program Files (x86)\VMware\VMware Workstation and uses the openssl command delivered with the program.

Adjust the Countryname, State, etc. to your own needs. Config is based on the VMware Docs.

Continue reading VMware Workstation: Generate a new selfsigned SSL/TLS certificate