Removes some magic numbers from the certstore code in favour of constants already defined in x/sys/windows
Adds the thumbprint option to cert_match_by by allowing matching a specific certificate my SHA1 thumbprint rather than possibly matching multiple certificates by name
Adds the cert_match_skip_invalid option by integrating & rebasing a community PR along with some fix-ups
This PR:
x/sys/windows
thumbprint
option tocert_match_by
by allowing matching a specific certificate my SHA1 thumbprint rather than possibly matching multiple certificates by namecert_match_skip_invalid
option by integrating & rebasing a community PR along with some fix-upsFixes #6024 Fixes #4383 Closes #4384
Signed-off-by: Neil Twigg neil@nats.io