Bug 240245 - No Client certificate window is showing
Summary: No Client certificate window is showing
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-09 11:55 PDT by Yoni Mataraso
Modified: 2023-04-11 17:19 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoni Mataraso 2022-05-09 11:55:44 PDT
I'm new to WebDriver testing and SafariDriver in particular.
My Webapp is protected by a company configured SSO. The authentication flow contains a lookup for x509 client certificate.
I'm testing on both Iphone and Ipad running the latest version and have remote testing enabled.

When I run my test script on a MacOS all is running perfectly fine as it does not requires a client certificate.
When you run the same test script from IPhone or IPad using Remote automation which in turn require the use of a certificate the process hangs. 
If I'm doing the same process manually on both devices I get the client certificate popup and I have the ability to accept(continue) the process or cancel the use of a certificate. This popup does not show up when you run this process using remote automation.

Appreciate any feedback on this
Comment 1 Yoni Mataraso 2022-05-09 11:57:18 PDT
I did add the following SafariOptions to my SafariDriver:
1. safOp.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
2. safOp.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);

I'm using the Java SDK
Comment 2 Radar WebKit Bug Importer 2022-05-16 11:56:12 PDT
<rdar://problem/93362957>
Comment 3 Brent Fulgham 2023-04-11 17:19:04 PDT
The cause of this bug is outside of WebKit code, so resolving as MOVED.

The relevant team is investigating under <rdar://86596002>.