function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CharlesDouCharlesDou 

salesforce site ssl error.

Hi guys,

 

I have a public checkout site in salesforce. And sometimes I recieve feedbacks from our customer that they got ssl error while visiting this page. The error is an SSL certificate issued error and I don;t how to deal with it. Caould anybody give me some advices to get rid of it? Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
gaisergaiser

https://<yourdomain>.secure.force.com goes with your Site out of the box.

It is up to you whether you want to use it or not and how you redirect.

 

How do users get to the part of your force.com site which cause ssl error?

If they click a link or your Visualforce controller redirects to that page - make sure it that lnk or redirect leads to something like https://<yourdomain>.secure.force.com version.

Also make sure that are no links or redirects that use HTTPS but do not use https://<yourdomain>.secure.force.com.

 

If you have not already read docs below then you could check for more information this:

http://wiki.developerforce.com/page/An_Introduction_to_Force.com_Sites

and this

https://na5.salesforce.com/help/doc/en/salesforce_platform_portal_implementation_guide.pdf

All Answers

gaisergaiser

Two most probable potential reasons:

 

1. https:// url is not on *.secure.force.com domain

this may happen when you use your own domain or forget to redirect to https://<yourdomain>.secure.force.com when switch from HTTP to HTTPS

 

2.Less likely: user may have specific device/browser config or going through a proxy which does not have CA used by SFDC on the list of trusted

But this would result in HTTPS version of your site always looking untrusted and not just an ocasional SSL error.

CharlesDouCharlesDou

How to change the domain to secure.force.com or redirect it?

gaisergaiser

https://<yourdomain>.secure.force.com goes with your Site out of the box.

It is up to you whether you want to use it or not and how you redirect.

 

How do users get to the part of your force.com site which cause ssl error?

If they click a link or your Visualforce controller redirects to that page - make sure it that lnk or redirect leads to something like https://<yourdomain>.secure.force.com version.

Also make sure that are no links or redirects that use HTTPS but do not use https://<yourdomain>.secure.force.com.

 

If you have not already read docs below then you could check for more information this:

http://wiki.developerforce.com/page/An_Introduction_to_Force.com_Sites

and this

https://na5.salesforce.com/help/doc/en/salesforce_platform_portal_implementation_guide.pdf

This was selected as the best answer
CharlesDouCharlesDou

I just fixed the problem by changing the link from "https" to "http". I know this is not the perfect solution, but it is the quickest since the page is a checkout page we are using. Thank you for the help.

Vijaya Kumar RegantiVijaya Kumar Reganti

how to change it http:// from https://