AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

Security Warning Dialog timeout

Open
#890 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
268
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Hello,
during the startup of our webstart application the following dialog is raised.
**Security Warning** _The websites's HTTPS certificate cannot be verified. Do you want to continue?_
When I confirm this with the button "Yes" in less than about 20 seconds, all is going well and the application
starts up without an issue.

When I wait more than 20 seconds webstart runs in an exception:
```Waiting for exception dialog to be closed
Launch exception
netx: Launch Error: Could not launch JNLP file. ( (java.net.SocketException: Software caused connection abort: socket write error (Software caused connection abort: socket write error)))
Returning value: YES
Setting value: YES
```

It looks like an timeout, but I can't find something to change this timeout.
I have tried:
```
sun.net.client.defaultConnectTimeout=-1
sun.net.client.defaultReadTimeout=-1
```
I only found that the following Class is used to raise the dialog:
`net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.CertWarningPane`

My question is, how can I change this behavior? Can I change the timeout?

Thank You

---------------------
```
OpenWebStart 1.6.0 IcedTeaWeb icedtea-web-2.0.0-alpha24
Used Java OpenJDK11U-jre_x86-32_windows_hotspot_11.0.16.1_1 on Win 10
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.