Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleCertificate authority example

openssl req -new -x509 -days 365 -extensions v3_ca -keyout ca.key -out ca.crt

Generating a RSA private key ..+++++

...................+++++

writing new private key to 'ca.key'

Enter PEM pass phrase: Gigaset123+

Verifying - Enter PEM pass phrase: Gigaset123+

-----

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.

-----

Country Name (2 letter code) [AU]:NL DE

State or Province Name (full name) [Some-State]:BB NR

Locality Name (eg, city) []:EL Bocholt

Organization Name (eg, company) [Internet Widgits Pty Ltd]:Gigaset

Organizational Unit Name (eg, section) []:

Common Name (e.g. server FQDN or YOUR name) []:gigaset.com

Email Address []:  

...

Info
titleClient certificate request signing generation

openssl req -out client.csr -key client.key -new

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.

-----

Country Name (2 letter code) [AU]:NL DE

State or Province Name (full name) [Some-State]:BB NR

Locality Name (eg, city) []:EL Bocholt

Organization Name (eg, company) [Internet Widgits Pty Ltd]:Gigaset

Organizational Unit Name (eg, section) []:

Common Name (e.g. server FQDN or YOUR name) []:myCN (This must be an other Common Name then used above, else connection will fail)

Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request

A challenge password []:

An optional company name []:

...