summaryrefslogtreecommitdiffstats
path: root/fake_ilo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'fake_ilo.spec')
-rw-r--r--fake_ilo.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/fake_ilo.spec b/fake_ilo.spec
index 4674f99..897a3ba 100644
--- a/fake_ilo.spec
+++ b/fake_ilo.spec
@@ -38,7 +38,8 @@ cp fake_ilo.service %{buildroot}/usr/lib/systemd/system
if test -f "/etc/fake_ilo"; then
exit 0
fi
-subject="/C=unknown/ST=unknown/L=unknown/O=libvirt/CN=$(hostname -f)"
+set -ex
+subject="/C=UN/ST=unknown/L=unknown/O=libvirt/CN=$(hostname -f)"
openssl req -x509 -newkey rsa:2048 \
-keyout /etc/fake_ilo/server.key \
-out /etc/fake_ilo/server.crt \