0
votes

Running

netsh http add sslcert hostnameport=xxx:443 appid= 'XXX' certhash=XXX certstorename=MY clientcertnegotiation=enable

I get

The following command was not found: http add sslcert hostnameport=xxx:443 appid= 'XXX' certhash=XXX certstorename=MY clientcertnegotiation=enable

Seems that "http" doesn't exist in netsh of Windows 10 IoT Core.

Any workaround to solve it?

1

1 Answers

0
votes

Windows IoT Core doest not support netsh http command. If you want to import the ssl certificate on Windows IoT Core. You can use following command:

  1. Copy cert to C:\ on the device.
  2. PS C:> Enter-PSSession -ComputerName -Credential Administrator
  3. []: PS C:\Data\Users\Administrator\Documents> cd C:\
  4. []: PS C:>Set-Location -Path cert:\LocalMachine\Root
  5. []: PS Cert:\LocalMachine\Root> Import-Certificate -Filepath C:***.pem, if your certificate file is pfx, you can use Import-PfxCertificate command instead.

In addition, you can also import the certificate using programming. More information please see here.