ssl - How to install a pfx certificate to Azure so Worker Role can access a third-party Web Service? -
ssl - How to install a pfx certificate to Azure so Worker Role can access a third-party Web Service? -
my worker role job download info 3rd party web service, requires accessing service provider certificate. having installed pfx certificate personal store on development machine, can httpclient way utilising service.
so equivalent of installing pfx certificate in azure published worker role?
please note during testing, certificate self signed no root ca importing disk via new x509certificate instance not work.
thanks
using (var client = new httpclient()) { var response = client.getasync(new uri("foo")).result; ... }
i think installing pfx certificate in worker role similar installing ssl certificate in web role.
step 1: upload pfx file in cloud services certificates in azure portal.
step 2: specify certificate details in cloud services configuration section. if you're using visual studio, double click on role --> certificates tab --> add together certificate , specifying name, certificate store location , thumbprint.
then when role gets deployed, certificate automatically gets installed in vm running role.
azure ssl x509certificate azure-worker-roles pfx
Comments
Post a Comment