[SOLVED] No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

[SOLVED] No appropriate protocol (protocol is disabled or cipher suites are inappropriate)


[SOLVED] No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

no appropriate protocol (protocol is disabled or cipher suites are inappropriate)

We solved this ‘no appropriate protocol’ error by editing java.security file inside our JVM..

Three lines to be commented:
jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \
DH keySize lessThan 1024, EC keySize lessThan 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves

⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/cbesangeeth

You can also find me on:
Twitter: https://twitter.com/cbe_sangeeth

#codesimple #solution


Content

1.76 -> hi there i'm getting no appropriate protocol  error when i'm starting my springboard application  
8.72 -> i'm starting this application after a while but  i didn't understand first why this error occurred  
15.52 -> then after spending some time i finally got this  thanks to stack overflow again so here i am going  
22.16 -> to explain you how i resolved in my scenario okay  so it's very simple so i'm if you see i'm using  
31.52 -> java version 1.8.292 okay so before i think  i have 1.8.181 okay so in between these times  
42.32 -> if this subversion get updated so might be that  might be the reason i thought then i googled and  
48.4 -> i got a solution in the stack overflow so which  is very simple so if you using your ubuntu then  
54.24 -> you can directly go to your jre location okay in  my case it is inside my user lib jvm and java 8 so  
63.68 -> jre library security okay this is the path so jre  library security until here it depends upon your  
71.44 -> os and your machine okay where you have  installed grt so if you see here inside  
75.84 -> the security folder you are having java dot  security so main computers here so what you  
80.72 -> need to do is you need to open this okay and you  will be getting something like this the whole  
86.72 -> bunch of lines you have and what you need to do  is you need to search for this particular line  
92.72 -> okay i'll give you this particular line in  this description so don't worry you can just  
97.52 -> copy this and search in your java.security file  okay so this is my file and i'm just searching  
105.04 -> for this so i just copy this and control f control  v yeah and here it is okay so if you see here java  
113.52 -> dot security file this line is uncommented  okay so quick hack is just comment this one  
120.8 -> and that's it you will be able to start your  server i need to provide a pseudo access to  
125.76 -> update this so what i'm going to do is i am  in the current path okay if you see pwd inside  
132.32 -> java 8 open jdk security and if i list that folder  i have this java security so what i'll do is  
140.48 -> i'll just do sudo and i'm opening bim editor i'm  going to open this java security file okay and it  
149.52 -> asks for my password and i'm providing my password  and here it is okay so if you see this line comes  
156.24 -> java dot security file okay so so you can uh if  you want to search in bim it's very simple you  
163.04 -> can just put slash okay see slash oops okay and  you need to type whatever the word you are going  
170.56 -> to type so in my case i am going to type tls okay  and just press enter after you enter the string  
178.48 -> what you have to search then press n okay so you  will get next next next occurrence so here it is  
186.56 -> so to edit it i just need to press i i for insert  c insert and my cursor is here i just come to this  
195.52 -> line and i'm just commenting this commenting this  line and commenting this line and escape and colon  
204.08 -> wq to save the changes that's it and if i go  to this particular project and if i start this  
212.32 -> i'm hoping i really should start so let's wait yes  i think it started yep so this is the issue so you  
220.4 -> can also go and edit your java.security file  if you are able to do and we go thank you bye

Source: https://www.youtube.com/watch?v=xSejtYOh4C0