close

[Fixed] javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Today We are Going To Solve javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) in Python. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Error?

  1. How to Fix javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Error?

    To Fix javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Error just Add this to your string. To remove this error just add this to your string. And you will solve your error. I hope this will help you. jdbc:mysql://localhost:3306/Peoples?autoReconnect=true&useSSL=false

  2. javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

    To Fix javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Error just Just follow these steps. To solve this error you have to just follow these steps First of all go to OpenJDK 11.0.10, where you can find binaries. Just open your JDK version and Set the TLS version to TLSv1.2 for sending emails. Do this by given below line System.setProperty("mail.smtp.ssl.protocols", "TLSv1.2"); Just use apache commons email and then make setting the aforementioned property before initializing my HtmlEmail object. That will solve your error.

Solution 1 : Add this to your string

To remove this error just add this to your string. And you will solve your error. I hope this will help you.

jdbc:mysql://localhost:3306/Peoples?autoReconnect=true&useSSL=false

Solution 2 : Just follow these steps

To solve this error you have to just follow these steps

First of all go to OpenJDK 11.0.10, where you can find binaries. Just open your JDK version and Set the TLS version to TLSv1.2 for sending emails. Do this by given below line

System.setProperty("mail.smtp.ssl.protocols", "TLSv1.2");

Just use apache commons email and then make setting the aforementioned property before initializing my HtmlEmail object. That will solve your error.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read This Solutions

Leave a Comment