How to create an X.509 Public / Private Keypair — with no prompting

David Janes
Dec 31, 2020

You’ll end up with two files “private.key.pem” and “public.cer.pem”. If you’re just playing around — which likely you are — the “subj” is likely fine as it is for testing purposes.

We’ll do something interesting with these today. Happy New Year!

--

--