Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Upload virtual network cert via service API.

$
0
0

I'm trying to automate deploying a virtual network with Point to Site VPN tunnel.  As part of the process, I need to upload a root cert for the network.  However, I cannot figure out what to actually pass into the service API.  The documentation located here:

http://msdn.microsoft.com/en-us/library/windowsazure/dn205129.aspx

Says the body should be this: <Binary>cert-data</Binary>, where cert-data is the binary data of the cert.  Well obviously that's not correct, you wouldn't mix text and raw binary data like that, plus it doesn't mention any content type to set indicating binary data.  The documentation for the Get says "Returns the public portion of a previously uploaded client root certificate in a base-64 encoded format." so I tried to base 64 encode the cert to upload, but that didn't work.

My searching on the net didn't find anyone else using this API, does anyone have any ideas?

Thanks,

Chad


Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>