beautypg.com

Creating and signing the x509 certificate – Guntermann & Drunck DVICenter DP16 Config Panel User Manual

Page 33

background image

Basic configuration of the web application

G&D DVICenter · 31

How to create the certificate request:

1. Enter the following command into the command prompt and press

Enter

:

2. Now, OpenSSL queries the data to be integrated into the certificate.

The following table shows the different fields and an exemplary entry:

Enter the data you want to state, and confirm each entry by pressing

Enter

.

3. If desired, the Challenge Password can be defined. This password is needed if you

have lost the secret key and the certificate needs to be recalled.

4. Now, the certificate is created and stored in a file named server.csr.

Creating and signing the X509 certificate

1. Enter the following command into the command prompt and press

Enter

:

2. OpenSSL creates the certificate and stores it in a file named server.crt.

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

Field

Example

Country Name (2 letter code)

DE

State or Province Name

NRW

Locality Name (e.g., city)

Wilnsdorf

Organization Name (e.g., company)

Guntermann & Drunck GmbH

Organizational Unit Name

(e.g., section)
Common Name (e.g., YOUR name)

192.168.0.10

Email Address

IMPORTANT:

Enter the IP address of the device on which the certificate is to be

installed into the row Common Name.

openssl x509 -req -days 3650 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out

server.crt