Untrusted certificate validation while using using AJAX TruClient protocol


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.