Skip to content

Commit

Permalink
Update to match Xero instructions
Browse files Browse the repository at this point in the history
Keys need to be 1024 bit and they recommend 1825 day expiry. ¯\_(ツ)_/¯
  • Loading branch information
rowan authored Apr 11, 2018
1 parent 4adb5ea commit c12fe0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ Private applications are used to access a single Xero account.
You'll need to generate an RSA keypair and an X509 certificate. This can be done with OpenSSL as below:

```bash
openssl genrsa -out privatekey.pem
openssl req -newkey rsa:1024 -x509 -days 365 -in privatekey.pem -out publickey.cer
openssl genrsa -out privatekey.pem 1024
openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825
```

You can then copy `publickey.cer` and paste it into the certificate box (`cat publickey.cer | pbcopy` on a Mac :apple:)
Expand Down

0 comments on commit c12fe0f

Please sign in to comment.