acceptInsecureCerts' could not be honored Safari Webdriver

I am automating angular site using protractor and the site but default needs to have ssl and therefore I added self signed certs to the site but when i run automation on safari i am trying to auto-accept the warning saying this is a not trusted site. I found that i can use acceptInsecureCerts: true in protractor to ignore SSL but for some reason Safari is not recognizing this option. A similar behavior is seen on ios devices as well. Is there a way to bypass the ssl certs on Safari?
This is the error i got from safari webdriver for desktop:

Code Block [13:00:42] E/launcher - Error: SessionNotCreatedError: Capability 'acceptInsecureCerts' could not be honored.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'L502062.local', ip: '127.0.0.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '1.8.0_202'
Driver info: driver.version: unknown
remote stacktrace:
at Object.checkLegacyResponse (C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\http.js:509:13)
at C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\http.js:441:30
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[13:00:42] E/launcher - Process exited with error code 100


Replies

Unfortunately, as of safaridriver version 14.1.2, the W3C Webdriver capability "acceptInsecureCerts" is not supported (as it is in chromedriver and geckodriver). For further info, see:

https://www.w3.org/TR/webdriver/#capabilities

Hopefully Apple will introduce support for that capability soon, since it's pretty critical for testing webapps using Safari in beta/dev environments.