Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Handle SSL Certificate in karateUI driver?

Tags:

karate

When I open my resource, I am faced with notification "Your connection is not private".screen with the notification Is there a way to disable the verification of the server certificate in the browser or specify the desired trusted certificate through configuring the karate driver? Please, provide the solution for configuration the driver for overcome this notification.

like image 809
Svitlana Avatar asked Nov 06 '25 13:11

Svitlana


1 Answers

This is helpful feedback. Can you see if adding this command-line flag helps: --ignore-certificate-errors.

Refer addOptions in the documentation: https://github.com/intuit/karate/tree/develop/karate-core#configure-driver

Else it would be great if you provide a way to replicate and submit an issue: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

This will also work for other chrome options such as --disable-notifications.

Please also see these threads:

a) https://github.com/intuit/karate/issues/1134#issuecomment-638990087 b) https://github.com/intuit/karate/issues/1228

like image 53
Peter Thomas Avatar answered Nov 09 '25 08:11

Peter Thomas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!