aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/resources/config/lighttpd/ssl/README.TXT
blob: fe43e0cc6f9d7cc215aa33291167e81ba4d8ce72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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