Thank you “MagentoAustralia” your advice enabled my to resolve the issue of recieving the error “SSL Error: Invalid or self-signed certificate”.
This error was returned when attempting to upload and image to a fresh install of Magento ver. 1.4.2.0. This is a development platform and had a Self Signed Certificate which I created using OpenSSL for Apache.
I am posting my fix as I run a Mac OS X development platform / work station. As per MagentoAustralia advice I had to add my self signed certifcate to the Mac OS X application Keychain. I simply dragged the certificate into the Keychain named “login”, once loaded into Keychain I simply set the Trust level to “trusted”. Images now upload as expected.
question
i had already do the change in the web general with the unsecure and secure but even now it doesnt work… and i dont understand the part with the html code and what part is requirement put it or what?
Hello everyone,
I just encountered this problem today with all my 1.6.0.0 installations and I solved it by increasing the MaxRequestLen from the apache configurations for the website(s).
Soon to be Christmas -2011.. still the same problem. I never used ssl on this projekt but there it is:
SSL Error: Invalid or self-signed certificate
I could upload files just fine yesterday, but today I cant. I even tried the exact same images in the exact same page.
I think I tried everything in this post except updating my flashplayer, will do so soon.
But seriously Magento team. U should had resolved this. Its an easy fix! Make an option to upload without flash. I don’t care how stuff look. I care if it works.
Right now I feel that you are really incompetent in what you are doing…
I mean even I can make an application that can upload images. You cant!
Same “SSL Error: Invalid or self-signed certificate” error message, when I tried to upload images from my desktop windows PC on my production server. The problem for me was my desktop PC firewall! “Plugin Container for Firefox” was block by my desktop firewall.
For the question about whether you can run Magento on a server with a self-signed certificate, the failures caused by self-signed certificates often are because they are created without being signed by a CA Certificate, or if signed, the systems where you will be viewing the website don’t have the user CA Certificate in the trusted certificate store.
If you create a Certification Authority and then create a server certificate/key pair, sign the server key with the CA Certificate and then import the CA certificate into Internet Explorer’s Trusted Root Certification Authorities Certificate Store (which makes it available to Chrome and to the Flash Flex file uploader) and Firefox’s Certificate Manager Authorities Store, you’ll have a lot better luck running your test web server with SSL.
When you notify the operating system and the browser that your self-signed certificate is trusted by you because you are your own Certification Authority and have imported the CA Certificate into the proper locations, then things work just like if you’d paid $250 for the live certificate on a live e-commerce site and Magento works just fine.
(No need to see that stupid “the world’s coming to an end it’s a self-signed or invalid certificate” page or have the flash image uploader crap out with the same sort of message once the CA Certificate is in place!)
I notice this error show for me still, just for images and files bigger than 120KB! Images and files lower than this size can upload without any problem. The error shows after that file or image uploaded 100%.
in my php:
upload_max_filesize = 64M
post_max_size = 96M
memory_limit = 256M
Also I followed “chiefair” guide and installed a CA on Magento admin successfully. It works great for my admin but still I got the error!
Any help is appreciated
------------------------------------------------------------------------------------------
EDIT:
THE PROBLEM SOLVED for me.
Thanks to “Soraph” to put me in right way! (post #36 in this thread)
My Apache runs in mod_fcgid and issue was it’s “FcgidMaxRequestLen” default value which is 131072bytes (128KB). By changing it to a higher value (15728640 - 15MB) issue solved for me.
You can edit fcgid.conf and add