summaryrefslogtreecommitdiffstats
path: root/keygen
diff options
context:
space:
mode:
Diffstat (limited to 'keygen')
-rw-r--r--keygen/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/keygen/Makefile.am b/keygen/Makefile.am
index 014e8df9..2422196a 100644
--- a/keygen/Makefile.am
+++ b/keygen/Makefile.am
@@ -23,7 +23,7 @@ install-data-hook:
./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini; \
fi && \
if [ ! -f $(DESTDIR)$(xrdpsysconfdir)/cert.pem ]; then \
- openssl req -x509 -newkey rsa:2048 -sha256 -nodes \
+ $(OPENSSL) req -x509 -newkey rsa:2048 -sha256 -nodes \
-keyout $(DESTDIR)$(xrdpsysconfdir)/key.pem -out \
$(DESTDIR)$(xrdpsysconfdir)/cert.pem -days 365 \
-subj /C=US/ST=CA/L=Sunnyvale/O=xrdp/CN=www.xrdp.org \