Sylvain Desbureaux | 16bdf24 | 2020-12-07 10:28:24 +0100 | [diff] [blame] | 1 | The following self-signed certificates were created for testing only. |
| 2 | You can replace them with your own if appropriate using this process or official certificates using what ever process is appropriate. |
| 3 | |
| 4 | |
| 5 | # create key and csr |
| 6 | openssl req -new -newkey rsa:2048 -nodes -keyout onap-robot.onap.key -out onap-robot.onap.csr |
| 7 | |
guillaume.lambert | 30ec390 | 2021-09-14 12:32:24 +0200 | [diff] [blame^] | 8 | # sign csr |
Sylvain Desbureaux | 16bdf24 | 2020-12-07 10:28:24 +0100 | [diff] [blame] | 9 | # 10 year self signed certificate |
| 10 | openssl x509 -req -days 3650 -in onap-robot.onap.csr -signkey onap-robot.onap.key -out onap-robot.onap.crt |
| 11 | |
| 12 | # create PEM for lighttpd server |
| 13 | cat onap-robot.onap.key onap-robot.onap.crt > onap-robot.onap.pem |