aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
blob: 05803266cbcd28c75945cabd910116777a4d2e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From d705b1d666cb8713d86ea6fb2fc45c424128285a Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Fri, 1 Dec 2017 10:24:50 +0900
Subject: [PATCH] Added  req_distinguished_name in /etc/xrdp/openssl.conf,
 otherwise, cert.pem can't be created.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
---
Upstream-Status: Pending

 keygen/openssl.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/keygen/openssl.conf b/keygen/openssl.conf
index 09db6c2..f077d72 100644
--- a/keygen/openssl.conf
+++ b/keygen/openssl.conf
@@ -4,6 +4,14 @@ distinguished_name = req_distinguished_name
 x509_extensions = v3_ca
 
 [req_distinguished_name]
+# Certificate subject
+#countryName = US
+#stateOrProvinceName = CA
+#localityName = Sunnyvale
+#organizationName = xrdp
+#organizationalUnitName =
+commonName = XRDP
+#emailAddress =
 
 [v3_ca]
 # Extensions for a typical CA - PKIX recommendation.
-- 
1.8.4.2