I have an "The parameter is incorrect." error on Windows Server 2022
I obtain the appid from certutil -store "MY" %SSL_DOMAIN% ^| find "Key Container"
Cert Hash(sha1): 6d5b92e25d056dc1c6dc671672e0dd2363ea1aac Key Container = !002a.fz-win.tk-2a270cf2-6652-4e79-81ce-36087def3cc2 Provider = Microsoft Software Key Storage Provider
And then use this "Key Container" value to set appid parameter
netsh http add sslcert hostnameport=xxxxxx:443 certstorename=MY certhash=6d5b92e25d056dc1c6dc671672e0dd2363ea1aac appid=!002a.fz-win.tk-f2ee0730-9396-4a0a-8fdb-d62e126a753a
The appid format is wrong and I think that the problem is with the provider on certutil.
These commands are for associate SSL certificate to binding. These commands in legacy windows server work fine. Please can you help me .
These commands are to associate SSL certificate to binding.
appid
field should be a unique GUID you generate on your own to identify your own HTTP application (who hooks to Windows HTTP API and handles incoming requests). That should never come from another place like the Key Container.