Skip to content

Commit

Permalink
Fixes #170: Clarify that the certificate are looking for is:
Browse files Browse the repository at this point in the history
1. public, not private
2. a signing certificate and not an encryption certificate
  • Loading branch information
markstos committed Sep 14, 2016
1 parent 5257486 commit 39978a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Authentication requests sent by Passport-SAML can be signed using RSA-SHA1. To s
privateCert: fs.readFileSync('./cert.pem', 'utf-8')
```

It is a good idea to validate the incoming SAML Responses. For this, you can provide the Identity Provider's certificate using the `cert` confguration key:
It is a good idea to validate the incoming SAML Responses. For this, you can provide the Identity Provider's pulbic signing certificate using the `cert` confguration key:

```javascript
cert: 'MIICizCCAfQCCQCY8tKaMc0BMjANBgkqh ... W=='
Expand Down

0 comments on commit 39978a0

Please sign in to comment.