I'm getting the above error even after adding the certificate into JDK. I used the below commends to add a certificate in jdk
keytool.exe -import -alias gradle-keystore "C:\Program Files\Java\jdk1.8.0_261\jre\lib\security\cacerts" -file gradle.cer
still, I'm seeing the validate date as of 7/31/21.
and also I selected the non-trusted certificates automatically option.
My doubt is how to resolve the issue and I don't know where I did wrongly. please help me to resolve this issue.