'Hot to generate a windows app with flutter working outside the appstore

I want to a windows installer (msix) and folowed the tutorial on https://docs.flutter.dev/desktop#msix-packaging there -> "Use the following instructions to generate a self-signed .pfx certificate".

I cannont install the app even on my local machine as "This app package is not signed with a trusted certificate."

The tutorial says "Distributing your application by self hosting it on a website requires a certificate signed by a Certificate Authority known to Windows".

How cam I get/create a "certificate signed by a Certificate Authority known to Windows"?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source