Create security.js

There were issues with the security.js file extracting the certificate base64 hash from the pem file. It should look for the begin and end certificate keywords in the pem file to extract properly.