Creating a self-signed certificate:
1. You need the makecert.exe tool to create a certificate, makecert.exe comes with both Visual Studio and the Windows SDK. Therefore just use either the Visual Studio Command Prompt or the Windows SDK command prompt and it will work straight out of the box as it will be included in the command prompt path.
To download and install the Windows SDK: https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx
makecert is included in the ".NET Development > Tools" bucket.
2. From the command line generate the Certificate Authority:
makecert -n "CN=ImperiHomeCA" -r -sv ImperiHomeCA.pvk ImperiHomeCA.cer
3. Then generate your certificate:
makecert -sk ImperiHomeSignedByCA -iv ImperiHomeCA.pvk -n "CN=COMPUTERNAME" -ic ImperiHomeCA.cer ImperiHomeSignedByCA.cer -sr localmachine -ss My
where COMPUTERNAME is the name of the computer on which you will install the certificate (i.e your HS3 computer)
Importing certificates into the Windows Certificate Store:
4. On your HS3 computer, go to Start, then Run, type MMC and hit enter
5. From the File menu choose Add-Remove Snap-In
6. Select Certificates, click Add and then select Computer Acccount, accept all the default, then click OK.
7. Drill down to "Certificates (Local Computer) > Personal", Right click on Personal, then click "All Tasks > Import"
8. Browse to ImperiHomeSignedByCA.cer created on step 3, accept all the default, then click Finish
9. Drill down to "Certificates (Local Computer) > Trusted Root Certification Authorities", Right click on "Trusted Root Certification Authorities", then click "All Tasks > Import"
10. Browse to ImperiHomeCA.cer created on step 2, accept all the default, then click Finish
Binding the certificate to port and application:
11. From "Certificates (Local Computer) > Personal > Certificates", double click on your certificate, go to details tab, select thumbprint
12. Copy the thumbprint value to a text editor (i.e. an alphanumeric string like 68 c5 80 9d cb 08 50 20 87 97 43 a4 ad 8c b5 fb bd e7 26 b1)
13. From an Administrator command line, enter the following command:
netsh http add sslcert ipport=0.0.0.0:8043 certhash=68c5809dcb085020879743a4ad8cb5fbbde726b1 appid={88b94b12-9683-43ee-ac20-825f76299a09}
replacing 68c5809dcb085020879743a4ad8cb5fbbde726b1 with the thumbprint you got at step 12 without the spaces
by default ImperiHome use 8043 as the port for https, if you want to use a different one change it as well in the above command.
1. You need the makecert.exe tool to create a certificate, makecert.exe comes with both Visual Studio and the Windows SDK. Therefore just use either the Visual Studio Command Prompt or the Windows SDK command prompt and it will work straight out of the box as it will be included in the command prompt path.
To download and install the Windows SDK: https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx
makecert is included in the ".NET Development > Tools" bucket.
2. From the command line generate the Certificate Authority:
makecert -n "CN=ImperiHomeCA" -r -sv ImperiHomeCA.pvk ImperiHomeCA.cer
3. Then generate your certificate:
makecert -sk ImperiHomeSignedByCA -iv ImperiHomeCA.pvk -n "CN=COMPUTERNAME" -ic ImperiHomeCA.cer ImperiHomeSignedByCA.cer -sr localmachine -ss My
where COMPUTERNAME is the name of the computer on which you will install the certificate (i.e your HS3 computer)
Importing certificates into the Windows Certificate Store:
4. On your HS3 computer, go to Start, then Run, type MMC and hit enter
5. From the File menu choose Add-Remove Snap-In
6. Select Certificates, click Add and then select Computer Acccount, accept all the default, then click OK.
7. Drill down to "Certificates (Local Computer) > Personal", Right click on Personal, then click "All Tasks > Import"
8. Browse to ImperiHomeSignedByCA.cer created on step 3, accept all the default, then click Finish
9. Drill down to "Certificates (Local Computer) > Trusted Root Certification Authorities", Right click on "Trusted Root Certification Authorities", then click "All Tasks > Import"
10. Browse to ImperiHomeCA.cer created on step 2, accept all the default, then click Finish
Binding the certificate to port and application:
11. From "Certificates (Local Computer) > Personal > Certificates", double click on your certificate, go to details tab, select thumbprint
12. Copy the thumbprint value to a text editor (i.e. an alphanumeric string like 68 c5 80 9d cb 08 50 20 87 97 43 a4 ad 8c b5 fb bd e7 26 b1)
13. From an Administrator command line, enter the following command:
netsh http add sslcert ipport=0.0.0.0:8043 certhash=68c5809dcb085020879743a4ad8cb5fbbde726b1 appid={88b94b12-9683-43ee-ac20-825f76299a09}
replacing 68c5809dcb085020879743a4ad8cb5fbbde726b1 with the thumbprint you got at step 12 without the spaces
by default ImperiHome use 8043 as the port for https, if you want to use a different one change it as well in the above command.
Comment