# How can i handle SSL certificates which is required to connect to the server. I had imported the SSL certificate but katalon triggers firefox which does not have the certificate. Can we invoke firefox browser with ssl certificates added to it through katalon

**URL:** <https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [July 3, 2017, 4:17pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116 "2017-07-03T16:17:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babu](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@Babu](https://forum.katalon.com/u/Babu)\
**Post date:** [July 3, 2017, 4:17pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/1 "2017-07-03T16:17:20Z")

</div>

Trying to automate an https application. We need SSL certificate installed on the browser which tries to access the server.

&nbsp;

During record mode or run mode, Katalon triggers its own firefox driver and Its fails to make SSL handshake with the server. How can I handle this situation. Is there a way to do make the default firefox driver of Katalon have the certificates?

---

<div class="post-metadata">

**Author:** ![Babu](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@Babu](https://forum.katalon.com/u/Babu)\
**Post date:** [July 4, 2017, 5:04am UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/2 "2017-07-04T05:04:30Z")

</div>

That does not help. I have already set it to bypass certificate validation. But our server has made it mandit to have SSL cert authentication, to access it.

Is there a way I can have these certificates imported to firefox browser driver which is being trigerred by Katalon during record mode and run mode?

---

<div class="post-metadata">

**Author:** ![Michael\_Mayo](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Michael\_Mayo](https://forum.katalon.com/u/Michael_Mayo)\
**Post date:** [October 4, 2017, 8:33pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/3 "2017-10-04T20:33:46Z")

</div>

I’m not sure how to do it with firefox, but I had to go into regedit and configure Chrome to autoselect a certificate based on the destination URL. This works fine if I only need to test with a single certificate, but now I’m working on figuring out how to use multiple different certificates to test appropriate error conditions. Any help selecting a certificate within a test case is appreciated.

---

<div class="post-metadata">

**Author:** ![Dhananjay\_Vemuri](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Dhananjay\_Vemuri](https://forum.katalon.com/u/Dhananjay_Vemuri)\
**Post date:** [October 16, 2017, 1:53pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/4 "2017-10-16T13:53:02Z")

</div>

yeah I doubt if multiple certificates can be used. It would be security vulnerable issue if you are successfully importing multiple certificates using your script.

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [July 4, 2017, 4:20am UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/5 "2017-07-04T04:20:14Z")

</div>

If you use Katalon Studio 4.6, then please check 'Bypass certificate ’ on project settings -\> network. It will bypass SSL validation and so you don’t need to worry about SSL

---

<div class="post-metadata">

**Author:** ![Carlos\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@Carlos\_Rodriguez](https://forum.katalon.com/u/Carlos_Rodriguez)\
**Post date:** [January 26, 2018, 7:23pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/6 "2018-01-26T19:23:07Z")

</div>

> @Michael Mayo said:  
> I’m not sure how to do it with firefox, but I had to go into regedit and configure Chrome to autoselect a certificate based on the destination URL. This works fine if I only need to test with a single certificate, but now I’m working on figuring out how to use multiple different certificates to test appropriate error conditions. Any help selecting a certificate within a test case is appreciated.

If you can provide the steps as to how you did that, albeit it being a single cert, It would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![Yair\_Treister](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/yair_treister/32/16103_2.png) [@Yair\_Treister](https://forum.katalon.com/u/Yair_Treister)\
**Post date:** [March 19, 2018, 3:06pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/7 "2018-03-19T15:06:05Z")

</div>

I was able to do it for multiple certs in Chrome by creating a custom keyword that does a system call to the Windows certutil command. I basically deleted all certs, and manually added the certificate I wanted.

---

<div class="post-metadata">

**Author:** ![Alfredo\_Rivera](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@Alfredo\_Rivera](https://forum.katalon.com/u/Alfredo_Rivera)\
**Post date:** [August 6, 2018, 7:44pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/8 "2018-08-06T19:44:53Z")

</div>

Yair, Can you share how to setup the keyword and how to get this working?

---

<div class="post-metadata">

**Author:** ![Sara\_Tavakolian](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Sara\_Tavakolian](https://forum.katalon.com/u/Sara_Tavakolian)\
**Post date:** [October 10, 2018, 6:49pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/9 "2018-10-10T18:49:05Z")

</div>

I keep getting the certificate error when trying to record the web application using Proxy. Can any one help me with this?

---

<div class="post-metadata">

**Author:** ![honsa](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/honsa/32/13991_2.png) [@honsa](https://forum.katalon.com/u/honsa)\
**Post date:** [October 30, 2018, 3:54pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/10 "2018-10-30T15:54:53Z")

</div>

How does this work for Internet Explorer 11?

I checked this option and it is working in all browsers excepting ie11.

---

<div class="post-metadata">

**Author:** ![ashish.sonar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ashish.sonar/32/16104_2.png) [@ashish.sonar](https://forum.katalon.com/u/ashish.sonar)\
**Post date:** [January 16, 2020, 1:40pm UTC](https://forum.katalon.com/t/how-can-i-handle-ssl-certificates-which-is-required-to-connect-to-the-server-i-had-imported-the-ssl-certificate-but-katalon-triggers-firefox-which-does-not-have-the-certificate-can-we-invoke-firefox-browser-with-ssl-certificates-added-to-it-through-katalo/6116/11 "2020-01-16T13:40:11Z")

</div>

Could you please let us know the steps to "regedit and configure Chrome to autoselect a certificate based on the destination URL’  
we are looking for Single Certificate issue,

We have manually added Certificate and it works in Manual Mode, but when we trigger run added certificate disappear in Remote Control browser mode.
