I've been trying to set up a Linux server <=> Windows clients environment but every time I try to connect with a client I get:
Error: Failed to connect: The certificate's CN name does not match the passed value. (os error -2146762481)
(error constant name: CERT_E_CN_NO_MATCH)
I've already tried generating various certificates with different altNames (IP and DNS) but nothing worked.
I realize this is probably not an issue with this crate, but I'd still like to request an option to run the server without requiring a certificate.
I've been trying to set up a Linux server <=> Windows clients environment but every time I try to connect with a client I get:
Error: Failed to connect: The certificate's CN name does not match the passed value. (os error -2146762481)
(error constant name:CERT_E_CN_NO_MATCH
)I've already tried generating various certificates with different altNames (IP and DNS) but nothing worked.
I realize this is probably not an issue with this crate, but I'd still like to request an option to run the server without requiring a certificate.
For a quick and dirty workaround I disabled https://github.com/htrefil/rkvm/blob/bf133665eb446d9f128d02e4440cc67bce50f666/client/src/main.rs#L34-L37 and https://github.com/htrefil/rkvm/blob/bf133665eb446d9f128d02e4440cc67bce50f666/server/src/main.rs#L85-L91, but a proper configurable implementation would be obviously preferred.