aboutsummaryrefslogtreecommitdiffstats
path: root/resources/config/lighttpd/ssl/README.TXT
blob: 4a56cb5dfaeeea41c0c9d2a2c50cfd2f2892b9a3 (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