You are not logged in.
Hello,
When I use ./easyrsa build-ca nopass command, then it asks me Common Name (eg: your user, host, or server name) [Easy-RSA CA]: question, the name that I entered in the question, must be used in the following commands?
# ./easyrsa gen-req NAME nopass
# ./easyrsa sign-req server NAME
Or, I can enter any name, but the name that I enter for the two above commands, must be same.
Which one?
Thank you.
Offline
In case of the "build-ca" command the resulting file names are fixed ("ca.crt", "ca.key").
Further server and client certificates need a filename base of your choosing ("mysrv" -> "mysrv.key", "mysrv.csr", "mysrv.crt") and in your case must be the same - but those are completely independent of the CN of your CA.
There's an EasyRSA Subforum on openvpn.net: https://forums.openvpn.net/viewforum.php?f=31
Offline
In case of the "build-ca" command the resulting file names are fixed ("ca.crt", "ca.key").
Further server and client certificates need a filename base of your choosing ("mysrv" -> "mysrv.key", "mysrv.csr", "mysrv.crt") and in your case must be the same - but those are completely independent of the CN of your CA.
There's an EasyRSA Subforum on openvpn.net: https://forums.openvpn.net/viewforum.php?f=31
Hello,
Thank you so much.
So, the following commands are wrong:
# ./easyrsa gen-req MY_SERVER_1 nopass
# ./easyrsa sign-req server MY_SERVER_2
Offline
Yes.
Offline
Yes.
Hello,
Thanks again.
Offline
Hello,
Excuse me, I forgot to ask.
The Common Name (eg: your user, host, or server name) [Easy-RSA CA]: is just a name and it has nothing to do with those commands?
For example:
Common Name (eg: your user, host, or server name) [Easy-RSA CA]: Arch Linux
# ./easyrsa gen-req Arch_Server nopass
# ./easyrsa sign-req server Arch_Server
Are the above values OK?
Offline