Test certificate verification

I've set the file as executable and added the shebang at the beginning of the file. I've left the file there because that's the only place where we're using it, but we could move it later if needed.