1From d705b1d666cb8713d86ea6fb2fc45c424128285a Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Fri, 1 Dec 2017 10:24:50 +0900
4Subject: [PATCH] Added  req_distinguished_name in /etc/xrdp/openssl.conf,
5 otherwise, cert.pem can't be created.
6
7Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
8---
9Upstream-Status: Pending
10
11 keygen/openssl.conf | 8 ++++++++
12 1 file changed, 8 insertions(+)
13
14diff --git a/keygen/openssl.conf b/keygen/openssl.conf
15index 09db6c2..f077d72 100644
16--- a/keygen/openssl.conf
17+++ b/keygen/openssl.conf
18@@ -4,6 +4,14 @@ distinguished_name = req_distinguished_name
19 x509_extensions = v3_ca
20
21 [req_distinguished_name]
22+# Certificate subject
23+#countryName = US
24+#stateOrProvinceName = CA
25+#localityName = Sunnyvale
26+#organizationName = xrdp
27+#organizationalUnitName =
28+commonName = XRDP
29+#emailAddress =
30
31 [v3_ca]
32 # Extensions for a typical CA - PKIX recommendation.
33--
341.8.4.2
35
36