-
Notifications
You must be signed in to change notification settings - Fork 759
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
How do I support https? #477
Comments
你用的是那份软件 生成了 bks 密钥库呢? 看截图 应该不是 keytools这个工具吧。 |
|
Has anyone been able to implement HTTPS correctly? My certificate is fine, it loads and reads correctly. I think I have some bug when implementing it on the server, when I apply the sslContext, I keep trying to connect infinitely (until I turn off the server) and if I remove the sslContext works perfectly (http). |
You can provides more details information . For example , logcat 、implement code、operation |
I was able to implement it. My problem was in the sslSocketInitializer(). When I called it, (guided by desperation) I copied the example above, and could not get it to work, finally I removed the arguments and put only sslSocketInitializer(socket -> {}) and it worked, it only gave me the warning that the certificate is autogenerated (which is the case) but I consider it solved. |
maybe you already solve this problem , I think so |
How do I support https? How to set it?
The text was updated successfully, but these errors were encountered: