Ssl certificate problem

I am trying to run languagetool using localhost.I have done all things as mentioned in http://wiki.languagetool.org/integration-on-websites but i am getting ssl certificate problem.

C:\Users\mario> curl --data “language=en-US&text=My+texd” https://localhost/proxy.php -k
Error: SSL certificate problem: unable to get local issuer certificate

Does it work with http instead of https?