Highlighted
Absent Member.
Absent Member.
1362 views

Untrusted certificate validation while using using AJAX TruClient protocol

Jump to solution

Hello

I am using ajax truclient protocol for firefox to script a scenario. At a particular step, firefox displays a message that says the following connection is untrusted. I need to expand the tab "I understand the risks", click on "Add Exception", which opens a popup on which I need to click on "Confirm Security Exception" to move forward. I need to do this manually every time the script replays. There is an option named "Permanently Store this Exception" but it is greyed out. All the steps till clicking on "Add Exception" can be automated, but truclient is not able to recognize the popup that opens up, hence I need to do the last step manually. Is there a workaround for this issue? I have attached a screenshot for reference. 

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Hello,

Please try to restart TruClient Firefox. Do NOT replay the script. Record the step that will show untrusted page again and manually add exception from the page you attached. This time "Permanently Store this Exception" should be enabled and please check it. Then you should be able to replay the script without the exception.

 

View solution in original post

6 Replies
Highlighted
Absent Member.
Absent Member.

Hello,

Which TruClient version did you use?

 

 

0 Likes
Highlighted
Absent Member.
Absent Member.

Hello,

Please try to restart TruClient Firefox. Do NOT replay the script. Record the step that will show untrusted page again and manually add exception from the page you attached. This time "Permanently Store this Exception" should be enabled and please check it. Then you should be able to replay the script without the exception.

 

View solution in original post

Highlighted
Absent Member.
Absent Member.

I am using v12.04

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

1)Delete vugen.ini from the path C:\Program Files\HP\LoadRunner\config
2)Create a new script using Mozilla Firefox for the application flow.
3)Collect Cert_Override and Cert8 DB file from the new script path \Scripts\TruClientFirefox22\profiles\interactive
4)Replace the old Cert8 and override files with the new ones in the script profiles\interactive folder and Firefox root folder
5)Restart the machine
6)Execute the script.

Thanks

Mohammed Hamed

Highlighted
Absent Member.
Absent Member.

Thanks a lot. Your solution worked

0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks for the response. I tried your solution and it works, but someone already posted a wrking solution a few minutes ahead of you. Unfortunately, I can accept only one solution, so I am accepting the first one. Sorry about that. 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.