Skip to content

Commit

Permalink
The reenroll command is incorrect in README
Browse files Browse the repository at this point in the history
The ../testdata/csr.json should be as a last argument
when run reenroll command in README file

Change-Id: Ie675ca3d37bed1a8add081c889e8162c9bd22da5
Signed-off-by: David Geng <[email protected]>
  • Loading branch information
David Geng committed Jan 13, 2017
1 parent d703f35 commit ebb62e9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,18 @@ key is used to authenticate to the COP server.

```
# cd $COP/bin
# ./cop client reenroll ../testdata/csr.json http://localhost:8888
# ./cop client reenroll http://localhost:8888
```

The enrollment certificate and enrollment key are stored in the same location as described in the previous section for the `enroll` command.

You can specify a new Certificate Signing Request JSON information when issue the reenroll command

```
# cd $COP/bin
# ./cop client reenroll http://localhost:8888 ../testdata/csr.json
```

### Register a new user

The user performing the register request must be currently enrolled, and also
Expand Down

0 comments on commit ebb62e9

Please sign in to comment.