zaproxy: Provide better error message when cert path validation fails
What steps will reproduce the problem?
1.Open Zap
2.In help check for updates
3.Observe the popup dialog, OWASP ZAP unable to securely access the check for updates
service
What is the expected output? What do you see instead?
I should be able to check for updates
What version of the product are you using? On what operating system?
2.4.0 on windows 8.1
Please provide any additional information below.
Original issue reported on code.google.com by Duncan_jason@hotmail.com
on 2015-05-05 09:38:28
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 26 (19 by maintainers)
I experienced this in a corporate environment. My Java installation was missing a certificate that my browser had access to via the Windows certificate store. I accessed https://raw.githubusercontent.com/zaproxy/zap-admin/master/ZapVersions-2.8.xml in the browser to find the CA certificate in question, opened the certificate and exported using Copy to file… (DER-encoded binary X.509 (.CER)) on the Details tab. Imported to the Java 8 runtime’s trust store using (from the JRE root dir):
This can be reproduced with a custom/empty keystore.