There's a few different ways to do this, but for me, with a Blazor Server application and backend API, this seemed to work the best. Step 1 - Create Certificate I got this script from Develop Locally with HTTPS, Self-Signed Certificates and ASP.NET Core (humankode.com) It's fairly well documented, but there's a few things to note: - Change Subject and Dnsname to your preferred name - Note the certifcate store location, in your personal store - Note the hard coded password YourSecurePassword - I don't know what the TextExtension field does, need to research that - Note that the created cer file is deleted at the last step However, this process didn't get me in a position where the server itself trusted the certificate, which is what I needed for Blazor, see Step 2 below. # setup certificate properties including the commonName (DNSName) property for Chrome 58+ $certificate = New - SelfSignedCertificate ` - Subject localhost ` - D...