blog.craiga.id.au

Guzzle\Common\Exception\RuntimeException: /tmp/guzzle-cacert.pem MD5 mismatch

Thursday,
19th December 2013

After downloading the latest version of aws.phar and copying it into my project, I started getting this error whenever trying to use AWS:

Unexpected Guzzle\Common\Exception\RuntimeException: /tmp/guzzle-cacert.pem MD5 mismatch: expected [some-hash] but got [some-other-hash]

This is caused by Guzzle using /tmp/guzzle-cacert.pem file to verify the integrity of its own archive. This file was written before the upgrade of aws.phar, so it’s now invalid. By deleting this file, Guzzle rewrites /tmp/guzzle-cacert.pem and everything is returned to normal.

rm /tmp/guzzle-cacert.pem

Wednesday,
17th July 2013

Emotions

Emotions

Sunday,
17th February 2013

Any dog under 50 pounds is a cat and cats are pointless.

Ron Swanson

Wednesday,
13th February 2013

Bottled Up In Cork by Ted Leo and The Pharmacists.

Monday,
28th January 2013

The Australian outback from space.

The Australian outback from space.

(via colchrishadfield)

Sunday,
20th January 2013

Saturday,
19th January 2013

Falling for You by Weezer. Because I haven’t grown at all in sixteen years.

I can’t believe how bad I suck, it’s true,
What could you possibly see in a little old freak called me?
But I do like you, and you like me too,
I’m ready, let’s do it baby.

About Craig Anderson

By day, he works for ABC TV as a web dev­el­oper. By night, he plays bass gui­tar in Look Who's Tox­ic. He also runs a little Unix Time­stamp con­ver­sion site. There are plen­ty of other things he should be doing, but most of the time he's dreaming of what he'll do when he grows up while watching bad Star Trek spin-offs.