CNs are important!!! -days 3650
umask u=rw,go= && openssl req -days 3650 -new -text -nodes -subj '/C=US/ST=Massachusetts/L=Bedford/O=Personal/OU=Personal/[email protected]/CN=localhost' -keyout server.key -out server.csr
umask u=rw,go= && openssl req -days 3650 -x509 -text -in server.csr -key server.key -out server.crt