Using signtool to sign an app and import the key to windows
Create a sel-certificate for app signing
Create a ssl-config file as below.
[req]
prompt = no
default_md = sha256
default_bits = 2048
distinguished_name = dn
x509_extensions = v3_req
[dn]
C = TW
ST = Taiwan
L = Taipei
O = Test Inc.
OU = IT Department
emailAddress = test@test.com
CN = MyTestCert
[v3_req]
subjectAltName = @alt_names
[alt_names]
DNS.1 = *.localhost
DNS.2 = localhost
IP.1 = 192.168.2.100
The CN is the name of the sel-certificate you want to create.