A question about Easy-RSA

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.

A web search for easyrsa example comes up with lots of useful looking pages. Maybe one has the info you are after?

2 Likes

Hello,
Thank you so much for your reply.
I found, but my questions are that can I enter any name in the question and the NAME for those commands must be same?
For example:
Common Name (eg: your user, host, or server name) [Easy-RSA CA]: My Server

# ./easyrsa gen-req Jason nopass 
# ./easyrsa sign-req server Jason

Is it OK?

https://fedoraproject.org/wiki/OpenVPN

Hello,
Thank you for your reply.
My questions are not there.

I recommend to follow the linked instruction to avoid unnecessary complications:

./easyrsa build-server-full server nopass
./easyrsa build-client-full client1 nopass
./easyrsa build-client-full client2 nopass

It should automatically fetch the CommonName from the command arguments.

1 Like

Hello,
Thank you so much for your reply.
First of all, it is not appropriate to use the word server.

Are the following commands OK?

Common Name (eg: your user, host, or server name) [Easy-RSA CA]: My Fedora OpenVPN Server

# ./easyrsa gen-req Fedora nopass 
# ./easyrsa sign-req server Fedora