title: Azure IOT SDK C# GroupCertificateVerification not working?
body: <p>I'm in the process of trying to accomplish a proof of possession for an enrollment group. </p>
  
  <p>I've created a test certificate with the code found here <a href="https://github.com/Azure/azure-iot-sdk-csharp/tree/master/provisioning/device/samples/ProvisioningDeviceClientX509" rel="nofollow noreferrer">https://github.com/Azure/azure-iot-sdk-csharp/tree/master/provisioning/device/samples/ProvisioningDeviceClientX509</a></p>
  
  <p>This created a certificate. Assuming this is the correct certificate, so far so good. </p>
  
  <p>Now I need to verify this certificate in the "Certificates" section of the Device Provisioning Service in the portal. According to the documentation I should be able to create a verification certificate with this set of code <a href="https://github.com/Azure/azure-iot-sdk-csharp/tree/master/provisioning/service/samples/GroupCertificateVerificationSample" rel="nofollow noreferrer">https://github.com/Azure/azure-iot-sdk-csharp/tree/master/provisioning/service/samples/GroupCertificateVerificationSample</a></p>
  
  <p>Unfortunately it doesn't work. After some debugging I found out that the code can't find the private key in the provided pfx file and therefore can't produce a verification certificate. </p>
  
  <p>Anyone familiar with this issue and knows how to fix this?</p>