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.

rsyslog: Configure TLS/SSL

Hi,

to setup a remote syslog server TLS encryption is strongly recommended.

Continue reading rsyslog: Configure TLS/SSL

.NET: Set default SSL/TLS Version to 1.2

Hi,

by default .NET does not uses TLS Version 1.2. So if you disable all SSL/TLS versions lower then 1.2 .NET application could not establish a secure connection anymore.
Continue reading .NET: Set default SSL/TLS Version to 1.2

SSL/TLS: Enumerate all security ciphers a Web- or Mailserver offers

Hi,

you want to know which security ciphers a particular server supports?
Continue reading SSL/TLS: Enumerate all security ciphers a Web- or Mailserver offers

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