-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Despite the verbiage during ./easytls build stating that you do not need the complete file name, at least on Windows, this is not the case. For example if I perform the following steps with easyrsa:
./easyrsa gen-req testing-server nopass
Enter common name testing
./easyrsa sign-req server testing-server
This will create a certificate testing-server.crt with CN=testing
Now in easy-tls if I perform ./easytls build and attempt to create a TLS Crypt v2 key, entering the common name of "testing" does not work because it tries to find a file name "testing.crt" which doesn't exist. If I specify "testing-server" as my common name easy-tls will find the certificate but the problem is that is not actually the common name of the cert. While this doesn't seem to actually cause any issues with the keys, the script verbiage should be updated so that it does not contradict itself here.