summaryrefslogtreecommitdiffstats
path: root/resources/config/lighttpd/ssl/README.TXT
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-03-30 11:53:19 -0500
committerBrian Freeman <bf1936@att.com>2020-03-30 15:39:16 -0500
commitecdb684c5af677555f11a9a3f2c05b9f27070c06 (patch)
tree3be314362b51d9a0c1ef57b832bb9e3a4e210803 /resources/config/lighttpd/ssl/README.TXT
parenta8e1918a02156ecec86409948d400669c2e67bb7 (diff)
Add HTTPS config lighttpd
Issue-ID: REQ-231 Change-Id: I4e18eed4424414d820f3ed78dfe5b1fb959a8938 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'resources/config/lighttpd/ssl/README.TXT')
-rw-r--r--resources/config/lighttpd/ssl/README.TXT13
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/config/lighttpd/ssl/README.TXT b/resources/config/lighttpd/ssl/README.TXT
new file mode 100644
index 0000000..4a56cb5
--- /dev/null
+++ b/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