- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-11-2022 04:54 AM
Hello,
maybe somebody knows a workaround for this problem.
I want to query a password from CCP (client certificate based authentication enabled )on a Windows hosts, using a domain-account and fetching the certificate from Windows Certificate Store (LocalMachine).
Invoke-Webrequest is failing with a TLS/SSL error as soon as I specify "-Certificate" or "-CertificateThumbprint".
There seems to be a limitation (official Microsoft documentation) for this commandlet and the specific parameters:
Certificates are used in client certificate-based authentication. They can be mapped only to local user accounts; they don't work with domain accounts.
I tried as alternative cURL.exe, which is able to use the Windows Cert Store but with the same negative result.
Does anybody of you have an idea how to retrieve the password?
SOLVED:
[https://stackoverflow.com/questions/57175452/could-not-create-ssl-tls-secure-channel-error-during-tls-1-2-connection-when-not]
The solution was to give my user account permission to access the specific certificate via Certificate Manager ([LocalMachine]) > Right click on the Certificate > All Tasks > Manage Private Keys. Then add my user account to the list.
Many thanks in advance!
Florian
05-18-2022 01:18 AM
Hi @Florian Laudensack
Thank you for submitting this question to the Technical Community!
As it seems this question was not answered by the community for some time now, could you kindly let us know if you were able to resolve this issue and how?
If the issue is still relevant, I would advise raising a support ticket for further assistance.
Thanks,
Gil
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

