We had previously been running fine behind Apache 2.2 redirecting to tomcat 7 and Rollbase under http.
We changed the configuration to run SSL and were able to access the pages via https but when I try to log in I get the error but am not sure if it's something in Rollbase I need to adjust or something with our Apache configuration.
Our SSL is being accomplished by a "Rewrite" of the http URLs to https and then a "proxypass" to our AJP connector.
Any suggestions about what may be the issue? Thanks everyone!
Can you try using Apache's Base64 for encoding/decoding?
Hope this will help.
Orchid, sorry if I'm not understanding but is this a setting in Rollbase or Apache?
This is not something to do with Rollbase settings but we still tried to address this issue.
Found something similar to your issue and hope this may help, please refer on the link below.
I actually had reviewed that link and many like it yesterday but they all point to changing the code which I take to mean Rollbase to use the lib. That's something I cannot change, either Apache or Rollbase as far as I know. I did drop this the commons-codec lib file into Rollbase's lib directory as there's no mention of putting the lib into Apache. Not sure where to go next though. Is there something I can change in Rollbase to get it to use the Base64 library?
In the main.log I see this so maybe it's Tomcat that's the one which can be adjusted:
[2014-07-01 13:49:21,443] ===> Error in thread ajp-bio-8009-exec-8 at 07/01/2014 01:49 PM
[2014-07-01 13:49:21,444] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
Yes most probably it was tomcat.
Just in case it is not yet fixed, please send us the steps to replicate on how you adjust your configuration to help us investigate further.
I cannot find a way to tell Tomcat to pad or unpad the encryption unless Tomcat is told to do SSL. From our configuration and reading we should not have to have Tomcat do any SSL as Apache has is handling all that. Can you convert this into a case so I can send you our httpd.conf, ssl.com, workers.properties, and Tomcat's server.xml and index.html to see how we have this setup?
Here is a link where you can file/find support cases, there you can attach file(s) for further investigation.
Let me know if you have any concerns, so I can help.
Orchid, my apologies, I thought you worked for a "progress" company like a former Rollbase Philippines guy seems now and that's why I asked you to convert the thread. A coworker of min already did that. Thanks for your input!