actions / setup-java

Set up your GitHub Actions workflow with a specific version of Java
MIT License
1.47k stars 708 forks source link

Ignore certificate #640

Open mohamed-aboelsoud opened 6 days ago

mohamed-aboelsoud commented 6 days ago

Description: Can you add an option in the action to ignore the self signed certificate.

Justification: I'm trying to use this action on my Github Enterprise, but I'm getting this error Error: self signed certificate in certificate chain Although I've whitelisted the needed URLs and I can download the Tar file using Curl command with --insecure to ignore the site certificate. I'm asking to add an option to ignore the certificate in the action so it can work on this case

Here is where I downloaded the file using Curl with --insecure image

Here is The error message I face when I use the action image

aparnajyothi-y commented 5 days ago

Hello @mohamed-aboelsoud, Thank you for creating this issue and we will get back to you once we have some feedback :)