The Blog of Someone Who Builds Things on the Internet

I google how to do things, then post the answers here cause I'll probably forget. Maybe someone else finds it useful.

Creating a CSR Request for SSL Certificate on Ubuntu

Published February 26, 2017

I have to do this every three years, and its always a pain to remember

sudo su
cd /etc/ssl/mycerts/
openssl reg -new -newkey rsa:2048 -nodes -keyout serverdomain.key -out serverdomain.csr

Answer the questions. Most places don't care about the Organizational Unit. Leave the challenge password blank (press Enter).

cat serverdomain.csr

Copy the output (including the BEGIN and END tags) to the form of the supplier.