3 openssl req
-new -x509 -days 9999 -nodes -newkey rsa
:2048 \
4 -out server-cert.pem
-keyout server-key.pem \
5 -subj "/C=US/ST=MO/L=St. Louis/O=OCI/CN=server"
7 cat server-cert.pem
>>server-key.pem
8 cat server-cert.pem
>ca.pem
10 openssl req
-new -x509 -days 9999 -nodes -newkey rsa
:2048 \
11 -out client-cert.pem
-keyout client-key.pem \
12 -subj "/C=US/ST=MO/L=St. Louis/O=OCI/CN=client"
14 cat client-cert.pem
>>client-key.pem
15 cat client-cert.pem
>>ca.pem