JRE - a Certificate elave etmek
Windows10 : command prompt as adminstrator olaraq run edilmelidir.
java nin yerleshdiyi foldere kechib, oradan jre daxilinde olan bin folderine kecmek lazimdir.
keytool -import -trustcacerts -keystore "/path/to/cacerts" -storepass changeit -noprompt -alias "aliasname" -file /path/to/cerfiticate.cer
result: Certificate was added to keystore
menim numunemde =>
keytool yerleshdiyi folder : C:\Users\HamidSF\.jdks\corretto-1.8.0_302\jre\bin
cacerts uchun path : C:\Users\HamidSF\.jdks\corretto-1.8.0_302\jre\lib\security\cacerts
Comments
Post a Comment