Skip to content

Commit

Permalink
🤖 Install Script Update for cacert.pem
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradSollitt committed Jul 15, 2020
1 parent 58db19e commit d94204d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@

// CA certificates are download from [https://curl.haxx.se/docs/caextract.html]
// and saved at the following location:
// http://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2019-10-16/cacert.pem
// http://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2019-10-16/cacert.pem.sha256
// http://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2020-06-24/cacert.pem
// http://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2020-06-24/cacert.pem.sha256
// The file is over 220 kb so rather than including it with source the file is
// downloaded and verified from an HTTP link before any HTTPS requests are made.
const CACERT_URL = 'http://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2019-10-16/cacert.pem';
const CACERT_SHA256 = '5cd8052fcf548ba7e08899d8458a32942bf70450c9af67a0850b4c711804a2e4';
const CACERT_URL = 'https://fastsitephp.s3-us-west-1.amazonaws.com/cacert/2020-06-24/cacert.pem';
const CACERT_SHA256 = '726889705b00f736200ed7999f7a50021b8735d53228d679c4e6665aa3b44987';
define('CACERT_FILE', sys_get_temp_dir() . '/install-cacert.pem');

/**
Expand Down

0 comments on commit d94204d

Please sign in to comment.