add instructions for multiple domains to readme
This commit is contained in:
parent
75a1cd1eb5
commit
070ed2a222
|
@ -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"`.
|
||||||
|
|
Loading…
Reference in a new issue