Magento - Error while uploading images

magento

Solution

In the past I've encountered upload issues with SSL when the config is badly set. Go to System > Configuration > Web > Secure and double check what you have set there.

- Base URL Typically the same as in the Unsecure section but with `https:` instead of `http:`

- Base Link URL `{{secure_base_url}}`

- Base Skin URL `{{secure_base_url}}skin/`

- Base Media URL `{{secure_base_url}}media/`

- Base JavaScript URL `{{secure_base_url}}js/`

If those URLs differ then the flash-based uploader has security problems. Sometimes the URLs cannot use `{{secure_base_url}}` - perhaps for a CDN - and so the way to get around it is with No Flash Image Uploader extension.

Problem

I am not able to upload an image to a product in magento,i.e,I am unable to add a product image. When I try to upload large images(about 600kb) ,it says SSL Error: Invalid or self-signed certificate When I try to upload small images (abut 3 kb),it says Upload HTTP Error I do need help urgently.Please please help me. Thanks a lot. Additionally: I run magento using xampp, in Ubuntu.

Original source