locked
Can't install certificate permanantly RRS feed

  • Question

  • Not sure this is the right forum for this, but couldn't find a better option.

    I have a Visual Studio app that uses the PayPal API. They require a certificate, which I have. I've had this working for many years on another computer, but I just migrated to a new computer. The code I use to install the certificate is:

    WinHttpCertCfg -i MyCert.p12 -p MyPassword-c LOCAL_MACHINE\my -a "NETWORK SERVICE"

    When I run this in an admin CMD window, I'm able to successfully call the API and retrieve data. But, as soon as I reboot the computer, I have to re-run the CMD file, otherwise I get a "Could not create SSL/TLS secure channel." 

    Anyone know how can I install the certificate so that I don't have to keep re-installing it?

    Thanks,
    Bert



    Bert Sirkin

    • Moved by 宝宝徐 Wednesday, June 7, 2017 2:40 AM
    Monday, June 5, 2017 12:58 PM

Answers

All replies

  • Hi Bert,

    Thank you for posting in MSDN forum.

    This forum is talking about Visual Studio Setup and installation. As your question is much related to the PayPal API certificate, I suggest you go to https://developer.paypal.com/support/ to post a new thread for a much professional support.

    Thank you for your understanding and cooperation.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, June 6, 2017 2:58 AM
  • Already posted to the developer.paypal.com forum - they just respond that it's a coding issue - which it isn't.

    This is sort of a last-resort post!


    Bert Sirkin

    Tuesday, June 6, 2017 11:21 AM
  • Hi Bert,

    Thank you for your update.

    As you know, this forum is about VS setup, but I will help you re-direct this case to a much professional support.

    Thank you for your understanding and cooperation.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, June 7, 2017 2:40 AM
  • Might ask over here.

    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserversecurity

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by pituachMVP Friday, June 9, 2017 12:08 AM
    • Marked as answer by Dave PatrickMVP Thursday, June 15, 2017 2:00 PM
    Wednesday, June 7, 2017 2:45 AM
  • thanks.

    Bert Sirkin

    Wednesday, June 7, 2017 3:05 AM
  • You're welcome.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, June 7, 2017 3:06 AM