pythonnet for the win!!! (.NET for Python)
P.S. I couldn't install from pip (visual studio dependency issues) but the
wheel file below worked like a charm (for python 3.9). Problem solved. π
https://download.lfd.uci.edu/pythonlibs/a4hvik9m/pythonnet-2.5.2-cp39-cp39-win_amd64.whl
# pip install
As much as I donβt like shelling out to a command prompt... π
CERTUTIL -f -p "" -importpfx "c:\mycertwithpfx.pfx"
There's definitely a different API for Certs with Private keys as best I can
tell... I just cant find what it is 100%.
THANKS FOR YOUR HELP!
At least I can get it done (for now)
I'll give it a shot... Thanks!
Steven
-Original Message-
From: Mark Hammond
Sent: Thursday, May 26, 2022 5:45 PM
To: Steven Manross ; python-win32@python.org
Subject: Re: [python-win32] Import Certificate with Private Key to Current
Computer Certificate store
Hi!
I know almost nothi
Hi!
I know almost nothing about certificate stores, but as luck would have
it, someone did report some issues recently, so it turns out there is a
PR that (a) tries to fix a couple of issues and (b) adds a test that
adds certificates to the store - see
https://github.com/mhammond/pywin32/pull
Howdy,
I am finishing up some work on requesting certificates from an internal
Microsoft CA, and then importing the certs to the local windows certificate
store, butd was having difficulty determining what function to use to import a
Certificate with Private Key (P12/PFX) to a the computer's Ce