Forum Discussion
Hi,
> How do I install the certificate [...]?
Well... To my knowledge, it depends on the application that uses it. Regular Windows applications usually require certificate to be installed into the system or user storage and used from there. Jave applications store certificates in the file. So I would recommend to check this with your developers.
> aqHttpRequest.SetHeader("Authorization", "Basic " + credentials);
Basic authorization does not require any certificate but only user name and password, like in your code.
Unless you had a reason to create the code that you provided, I would recommend to use some traffic recording tool (Fiddler, for example) and record the traffic from the application. Analyze recording then and replicate it in your test code.
We are using both types.
aqHttpRequest.SetHeader("Authorization", "Basic " + credentials);
I believe this Authorization is used for LDAP with a un/pw
and the other is for the HTTPS and a secure handshake from client to server.
I see in SOAPUI it is straight forward to add the SSL cert into the Preferences and also add Basic Authentication to the header but in TC I can add the Basic Auth into the header through the aqHttpRequest but the CERT is not so straight forward.
Can i assume that the CERT could be added to IE or someother location where certicates are read from? If true how does it know the password. Is the file system just set up to handle it if the cert is in the correct location?
Andrew
- cst990035 years agoContributor
Hello AlexKaras ,
I believe I have imported the Certificate into the correct location through IE. Although I believe the company already had them set.
Here is an ERROR that I am receiving. How can I be sure that TC is grabbing the correct cert, or which cert, or what cert location it is connecting to?
Error: No credentials were available in the client certificate
Related Content
Recent Discussions
- 2 days agovladd1