Ubuntu – Created a new OpenSSL key and I don’t know where the CSR file is

opensslsshssl

Still learning a lot about Ubuntu and server management.

I need to generate a new SSL certificate and I have followed a tutorial on how to create the CSR file.

I ran the following command:

openssl req -new -newkey rsa:2048 -nodes -keyout [serverName].key -out [serverName].csr

I then filled out the information needed.
I believe I have created the .CSR file but I don't know where.

I need this obviously to get the SSL certificate so where should I find it to download it to?

THANK YOU.

Best Answer

Search for the file in your system with:

sudo find / -name "[server name].csr"