add instructions for multiple domains to readme

This commit is contained in:
panicbit 2020-11-15 20:23:42 +01:00
parent 75a1cd1eb5
commit 070ed2a222

View file

@ -27,7 +27,11 @@ cargo add northstar
# Generating a key & certificate # Generating a key & certificate
Run
```sh ```sh
mkdir cert && cd cert mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
``` ```
and enter your domain name (e.g. "localhost" for testing) as Common Name (CN).
Alternatively, if you want to include multiple domains add something like `-addext "subjectAltName = DNS:localhost, DNS:example.org"`.