SSL Error: Invalid or self-signed certificate magento 1.9.1.0

I have just implemented ssl for my magento 1.9.1.0 site but my product images
show “Upload HTTP Error” in chrome and “SSL Error: Invalid or
self-signed certificate” in mozilla.

my var and media folders are 777 permission and also i have installed php-gd.

Can any get me out of this.

The site is about Magento 2.