How to Overcome the Annoying Obstacles with Let’s Encrypt on Azure

Let’s Encrypt offers free SSL certificates to protect the traffic between your website and the visitors. They are as good as the expensive commercial ones, but they need to be renewed every three months – thanks to automation, this is not a problem. I use Let’s Encrypt for all my sites and never had any …

Read more

How to Fix the “Keyset does not exist” CryptographicException

We recently run into a strange problem when we tried sign a message using a private and public key pair. Everything worked as expected on the developer machine, yet in the test environment the same code only throws this exception: System.Security.Cryptography.CryptographicException: Keyset does not exist Our key pair is inside the certificate store on a …

Read more

Use BCrypt to Save Password (Hashes)

With nearly every application and website demanding an account, most developers will sooner or later have to store passwords. It is incredible how bad that can be implemented and how dire the consequences can be for the users. Take a quick look at the long list of sites taking part in “Have I been pwned?” …

Read more

Finding Security Vulnerabilities in your Project Dependencies with Audit.Net

If you want to check your dependencies for security vulnerabilities right in Visual Studio, then the approach with Dependency-Check and SonarQube is not good enough. In this case, you should try Audit.Net.   This post is part three of a small series on finding security vulnerabilities in your project dependencies: Finding Security Vulnerabilities in your …

Read more

Finding Security Vulnerabilities in your Dependencies with Dependency-Check

The Open Web Application Security Project (OWASP) may be best known for its top 10 list of the most critical web application security risks. However, the project not only talks about problems; they offer a wide range of documentation to fix those problems (like the .NET Security Cheat Sheet) and publish tools like the OWASP …

Read more