Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname not verified #191

Open
4 tasks
P1NG2WIN opened this issue Aug 3, 2020 · 0 comments
Open
4 tasks

Hostname not verified #191

P1NG2WIN opened this issue Aug 3, 2020 · 0 comments

Comments

@P1NG2WIN
Copy link

P1NG2WIN commented Aug 3, 2020

  • I have verified there are no duplicate active or recent bugs, questions, or requests.
  • I have verified that I am using the latest version of AppUpdater.
  • I have given my issue a non-generic title.
  • I have read over the README, Wiki and FAQs (before asking questions on how to do something).

AppUpdater:2.7

My domain has no ssl certificate. In the apk I ignore it by this

okHttpBuilder .hostnameVerifier(HostnameVerifier { _, _ -> true }),

but this library throws an error javax.net.ssl.SSLPeerUnverifiedException: Hostname ... not verified and I did not find the option to set custom hostnameVerifier

        AppUpdater(this).apply {
            setUpdateFrom(UpdateFrom.JSON)
            setUpdateJSON("${API.HTTPS_API_URL}/update-changelog")
            setDisplay(Display.DIALOG)
                .setCancelable(false)
            start()
        }
@P1NG2WIN P1NG2WIN changed the title Allow use domains without ssl certificate SSLPeerUnverifiedException Aug 3, 2020
@P1NG2WIN P1NG2WIN changed the title SSLPeerUnverifiedException Hostname not verified Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant