aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/resources/config/lighttpd/ssl/README.TXT
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/robot/resources/config/lighttpd/ssl/README.TXT')
-rw-r--r--kubernetes/robot/resources/config/lighttpd/ssl/README.TXT13
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/robot/resources/config/lighttpd/ssl/README.TXT b/kubernetes/robot/resources/config/lighttpd/ssl/README.TXT
new file mode 100644
index 0000000000..4a56cb5dfa
--- /dev/null
+++ b/kubernetes/robot/resources/config/lighttpd/ssl/README.TXT
@@ -0,0 +1,13 @@
+The following self-signed certificates were created for testing only.
+You can replace them with your own if appropriate using this process or official certificates using what ever process is appropriate.
+
+
+# create key and csr
+openssl req -new -newkey rsa:2048 -nodes -keyout onap-robot.onap.key -out onap-robot.onap.csr
+
+# sign csr
+# 10 year self signed certificate
+openssl x509 -req -days 3650 -in onap-robot.onap.csr -signkey onap-robot.onap.key -out onap-robot.onap.crt
+
+# create PEM for lighttpd server
+cat onap-robot.onap.key onap-robot.onap.crt > onap-robot.onap.pem