Skip to content

Commit

Permalink
Merge pull request #19 from tvdijen/patch-1
Browse files Browse the repository at this point in the history
Fix key-set generation instructions for MongoDB 6+
  • Loading branch information
oharsta authored Nov 10, 2023
2 parents 289c78c + 78e8576 commit 4ffcc74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ https://oidcng.test2.surfconext.nl/oidc/generate-secret-key-set
```
If you have started the application before adding the new keyset, you have to remove the existing signing and symmetric keys from the mongo database. Run these two commands on the mongo prompt:
```
db.symmetric_keys.remove({})
db.signing_keys.remove({})
db.symmetric_keys.deleteMany({})
db.signing_keys.deleteMany({})
```
You can also use this Java binary to generate a keyset to use before starting oidcng [https://build.openconext.org/repository/public/releases/org/openconext/crypto/1.0.0/crypto-1.0.0-shaded.jar](https://build.openconext.org/repository/public/releases/org/openconext/crypto/1.0.0/crypto-1.0.0-shaded.jar)

Expand Down Expand Up @@ -233,7 +233,7 @@ curl -u oidcng:secret "http://localhost:8080/manage/force-symmetric-key-rollover
```
## [SAML metadata](#saml-metadata)

The metadata is generated on the fly and is displayed on http://localhost:8080/saml/metadata
The metadata is generated on the fly and is displayed on http://localhost:8080/saml2/service-provider-metadata/oidcng

## [Trusted Proxy](#trusted-proxy)

Expand Down

0 comments on commit 4ffcc74

Please sign in to comment.