You are here

CSR samples

1. A certificate for a single domain's server
This is the content of the configuration file to be passed to OpenSSL for the generation of the CSR; you may download a copy and adapt it to your own needs.

[ req ]
default_bits = 2048
prompt = no
encrypt_key = no
default_md = sha256
distinguished_name = dn

[ dn ]
C = BE
O = Big Brewery
CN = www.mybeers.be
L = Bruxelles
OU = Taste It Again Team

Proceed to the creation of the CSR (including key pair) by issuing a command like:

openssl req -new -config singledomain.conf -keyout singledomain.key -out singledomain.csr

2. A certificate for a multi domains server
 
This is the content fo the configuration file to be passed to OpenSSL for the generation of the CSR; you may download a copy and adapt it to your own needs if you want.

[ req ]
default_bits = 2048
prompt = no
encrypt_key = no
default_md = sha256
distinguished_name = dn
req_extensions = v3_req


[ dn ]
C = BE
O = Big Brewery
CN = chimay.mybeers.be
L = Bruxelles
OU = Taste It Again Team


[ v3_req ]
subjectAltName = DNS: webmail.mybeers.be, DNS:www.mybeers.be

Proceed to the creation of the CSR (including key pair) by issuing a command like :

openssl req -new -config multidomains.conf -keyout multidomains.key -out multidomains.csr