Forum Discussion

Bob Troppmann's avatar
Bob Troppmann
Copper Contributor
Sep 07, 2016
Solved

Certificate error

I am trying to follow the pnp partner pack setup process. After closely following instructions and three attempts, I get the oops exception value: null parameter:certificate when loading the pnp site....
  • Bob Troppmann's avatar
    Bob Troppmann
    Sep 11, 2016

    I was able to resolve my issue.

     

    These are the steps that were different in my successful attempt:

     

    1)  When creating the self signed cert, I passed the date parameters in MM/DD/YYYY format, and added the -String.

    Previously I was passing the date as DD/MM/YYYY.  The snippet I ran was as follows:

     

    .\Create-SelfSignedCertificate.ps1 -CommonName "cwl-partner-pack" -StartDate 09/11/2016 -EndDate 09/11/2018 -Password(ConvertTo-SecureString -String "foo" -AsPlainText -Force)

     

    2) My VS2015 was signed in under my microsft account registered with MSDN, which is not the subscription I was working with.  To make sure I was targeting the right subscription, I signed out of visual studio (top right) and in the cloud explorer I connected to the target subscription.

     

    3)  This is the one I think that was the fix.  When I ran the publish dialog, I imported the publishing profile, but instead of publishing I click on "Close" (next to publish).  Then I ran the publish dialog again, and this time the "Enable Organizational Auhtentication" option appeared, and was checked off.  I unchecked it, then published with successful outcome.

     

    Bob 

Resources