Skip to content

Commit

Permalink
docs: add note on user-specified CA for custom installs of standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Apr 8, 2020
1 parent 0a923cb commit 45b973f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ For those that are behind a corporate firewall or are seeing issues where our pa

It will accept both a local path or an http(s) url. It must point to the directory containing the binary needed as the binary name is appended to the end of the location. For the example given above, Pact will look for the binary at `/home/some-user/Downloads/pact-1.44.0-win32.zip` for a Windows system. However, by using this method, you must use the correct Pact version binary associated with this version of Pact-Node. For extra security measurements, checksum validation has been added to prevent tampering with the binaries.

If your environment uses self-signed certificates from an internal Certificate Authority (CA), you can configure this using the standard options in an [npmrc](https://docs.npmjs.com/configuring-npm/npmrc.html) file as per below:

_~/.npmrc_:
```
cafile=/etc/ssl/certs/ca-certificates.crt
strict-ssl=true
```

## Which Library/Package should I use?

TL;DR - you almost always want Pact JS.
Expand Down

0 comments on commit 45b973f

Please sign in to comment.