php - PHPStorm 7 REST Client allow self signed certificates
I'm using PHPStorm 7 to create a RESTful API. I wanted to use the built in REST Client but need to be able to tell it to allow untrusted SSL Certificates. I am using a self signed certificate on my test server.
At the moment when I send my request I get this response.
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Is there an option I can change to ignore this?
Answer
Solution:
I would recommend creating your own Certificate Authority (CA) and generate certificates for your server(s) signed by it. You then have to add the CA public certificate to your local machine (probably into the Java store, and into Internet Explorer settings (if you're using Windows that is)).
Creating Your Own SSL Certificate Authority (and Dumping Self Signed Certs)
Custom SSL Certificate Authority?