Azure/azure-resource-provider-sdk

Authentication

yasen-mailjet opened this issue · 0 comments

Hello, I'm trying to figure out how to verify the request from MS Azure. An important line in the documentation (https://github.com/Azure/azure-resource-provider-sdk/tree/master/docs#authentication)
states: Only accept calls from certificates that have the correct public key.

I'm implementing the service in PHP. I've converted the certificates from .cer to .pem. and suspecting the verification needs to be done as shown by the top ranked comment here http://stackoverflow.com/questions/6426927/php-ssl-certificate-fingerprint
Is it possible to provide sample code or to explain the process in more details? Thank you.