Topic-icon SSL Errors

Active Subscriptions:

None
13 years 7 months ago #27225 by ivalam
SSL Errors was created by ivalam
Hi,
I am currently running Joomla 2.5.7 on my website. I have just downloaded JFB Connect and was intending to use it together with Virtuemart 2.0.12b for user registration.

Upon installing JFB Connect, I have been able to login with my FB acct and log out with no problems. However, when I did a manual registration without any FB login and upon activating the account and logging in again, the site give me this error:

Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.

This is despite me deactivating or activating SSL on VM and putting Yes or No for the option: Disable SSL Certificate Validation on JFB Connect

I then went to buy a standard SSL certificate from GoDaddy and installed it via cPanel. I proceeded to activate SSL on VM and put No for Disable SSL Certificate Validation on JFB Connect. This time,upon repeating the steps above, I got this error:

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

from the manual registration page. After a few more tries I then got the first error mentioned for BOTH FB login and manual registration.

I have attempted reinstalling the SSL certs but the error remains. May I know what could be a possible cause for this, or am I missing a step here or something?
The topic has been locked.
Support Specialist
13 years 7 months ago #27230 by alzander
Replied by alzander on topic SSL Errors
An SSL certificate is not required for Facebook login at all. I'm not sure why you got that error in the first place, but I don't think it was from JFBConnect. If you try to login to your site when you're on the non-SSL version of your site, do you get that error as well?

I'm a little confused by what you actually did to encounter the issue as well:
* However, when I did a manual registration without any FB login You mean just registering using Joomla or through Virtuemart, or where?
* Upon activating the account What activation did you do? The email approval in Joomla, or something else?
* and logging in again, the site give me this error: Logging in through Joomla or Facebook / JFBConnect? Did you go to the Login / Register form of JFBConnect and use the left-hand side of the form to login to an existing account or something else?

Hopefully that will help narrow some things down once we get those answers. Again though, an SSL certificate isn't required to be installed on your site for FB Login functionality. However, we *do* need to make outgoing requests using 'cURL' (a PHP function) to Facebook servers. Those calls are made using SSL, but that doesn't require an SSL certificate on your site either, just that your server is configured to be able to understand SSL requests. Most are, but if you built the server your self, it may need you to enable some SSL features.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 7 months ago #27232 by ivalam
Replied by ivalam on topic SSL Errors
Hi there,
Thanks for the reply.

* However, when I did a manual registration without any FB login You mean just registering using Joomla or through Virtuemart, or where?
I did manual registration through the SC Login module given. The registered details did get sent to Virtuemart to save as a user, but that was probably because I had mapped the fields to Virtuemart through the profile plugin.

* Upon activating the account What activation did you do? The email approval in Joomla, or something else?
This was the account activation email that got sent out after doing the above registration. I had assumed this was done by JFB Connect. How do I understand who is handling this process here?

* and logging in again, the site give me this error: Logging in through Joomla or Facebook / JFBConnect? Did you go to the Login / Register form of JFBConnect and use the left-hand side of the form to login to an existing account or something else?
This was done through JFB Connect. I used the username and password field as offered by SC Login module to log in and thus got this error.

I noticed this message in Disable SSL Certificate Validation on JFB Connect configuration though:

If you received a 'SSL Certificate problem, verify that the CA cert is OK.' error, enable this setting. Your server's SSL root certificates are out of date. This will bypass the validation check. You should contact your host to update their root certificates.


Any possibility it's linked to this?
The topic has been locked.
Support Specialist
13 years 7 months ago #27236 by alzander
Replied by alzander on topic SSL Errors
Just to clarify, when you say "I did manual registration through the SC Login module given. " you mean you did *not* login using Facebook. You registered using the username, password, email, etc form directly from your website? If so, JFBConnect has nothing to do with that process. That registration flow is completely handled by Joomla or Virtuemart, depending on where the registration click was redirected to.

So, if you're registering a new user 'on-site', the activation is not coming from JFBConnect. That's handled by Joomla, Virtuemart, or possibly any other extensions you have installed that can perform registration.

When logging in using the SCLogin module, if you're using the Username / Password fields within the module itself (not the "Login with Facebook" button), that is using Joomla to log the user in. Once thing you may want to check is if you enabled the "Encrypt Login Form" setting in the SCLogin module. If so, that will post the user's data using SSL to your site. For that, you will need an SSL certificate on your site. Disabling that feature should be just fine as well.

Hope that helps explain. If you are having any issues with the "Login with Facebook" button, we can help with that. For other Joomla registration or login issues, we simply redirect the user to Joomla's built-in functionality.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 7 months ago #27240 by ivalam
Replied by ivalam on topic SSL Errors
Yes, I figured that out in the end and recognized that the registration form was actually done through Virtuemart itself. My bad there.

However, I just want to clarify some matters.

How is the redirection of the registration link on SC Login module done? This is because when I created new Virtuemart menu items, the link for the registration changes which seems very weird to me. Is this a Virtuemart problem or is it how JFB Connect is determining the registration link to be?
The topic has been locked.
Support Specialist
13 years 7 months ago #27247 by alzander
Replied by alzander on topic SSL Errors
When you set the "Registration Component" to Virtuemart in the SCLogin module, then we ask Virtuemart for what it thinks the proper registration URL is. Their behavior is definitely odd in that it will change the link depending on different configuration and menu options. We have no control over that link though as it's simply what Virtuemart returns to us as the proper link to use.

Hope that helps explain. If you'd prefer not to use Virtuemart's registration, you can change the Registration Component to Joomla and that should help.

Good luck,
Alex
The topic has been locked.