[cc lang='bash']
\$ vi ssl.cnf
\$ openssl req -new -config ssl.cnf -out jokeru.ro.csr
[/cc]
ssl.cnf
[cc lang='bash']
[ req ]
default_keyfile = jokeru.ro.key
default_bits = 2048
encrypt_key = no
default_md = rsa
distinguished_name = req_distinguished_name
req_extensions = req_extensions # Extension for subjectAltName
prompt = no
[ req_distinguished_name ]
countryName = RO
stateOrProvinceName = Bucharest
localityName = Bucharest
organizationName = JoKer Tech
organizationalUnitName = Security
commonName = jokeru.ro
emailAddress = abuse@jokeru.ro
[ req_extensions ]
subjectAltName = email:webmaster@jokeru.ro, DNS:www.jokeru.ro
[/cc]