Skip to content

Commit 4a29a4d

Browse files
default locations for keys
1 parent 93e46ed commit 4a29a4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You need an SSL certificate from a _certificate authority_, such as your domain
8181
For testing purposes, you can use `bin/solid-test` with a _self-signed_ certificate, generated as follows:
8282

8383
```
84-
$ openssl req -outform PEM -keyform PEM -new -x509 -sha256 -newkey rsa:2048 -nodes -keyout ../privkey.pem -days 36500 -out ../fullchain.pem
84+
$ openssl req -outform PEM -keyform PEM -new -x509 -sha256 -newkey rsa:2048 -nodes -keyout ./config/privkey.pem -days 36500 -out ./config/fullchain.pem
8585
8686
```
8787

@@ -111,7 +111,7 @@ $ solid start
111111
Otherwise, if you want to use flags, this would be the equivalent
112112

113113
```bash
114-
$ solid start --multiuser --port 8443 --ssl-cert /path/to/cert --ssl-key /path/to/key --root ./data
114+
$ solid start --multiuser --port 8443 --ssl-cert ./config/fullchain.pem --ssl-key ./config/privkey.pem --root ./data
115115
```
116116

117117
Your users will have a dedicated folder under `./data` at `./data/<username>.<yourdomain.tld>`. Also, your root domain's website will be in `./data/<yourdomain.tld>`. New users can create accounts on `/api/accounts/new` and create new certificates on `/api/accounts/cert`. An easy-to-use sign-up tool is found on `/api/accounts`.

0 commit comments

Comments
 (0)