Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL certificate help


Guest

Recommended Posts

Hi,

 

I'm trying to install an SSL certificate on my site and have got the following instructions:

 

Step 1: Copy the below JavaScript in your HTML page's <head> tag.

Use the following line if you are displaying your TrustLogo over a STANDARD NON-SECURE page, e.g. http://

 

<script language="JavaScript" src="http://www.trustlogo.com/trustlogo/javascript/trustlogo.js" type="text/javascript">

</script>

 

Use the following line if you are displaying your TrustLogo over a SECURE page, e.g. https://

 

<script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">

</script>

 

but i'm not sure which of these codes i need for which files. I had read in other post on this forum that you place some files in http or https folders but where? :blink:

 

Also, i'm instructed to insert the following into the html of the page i want to display the secure logo, but i've tried doing this in my column_right.php but get a parse error.

 

<!--

TrustLogo Html Builder Code:

Shows the logo at URL http://www.mysite.com/images/secure_site.gif

Logo type is  ("SC")

undefined

//-->

<script type="text/javascript">TrustLogo("http://www.mysite.com/images/secure_site.gif", "SC", "none");</script>

 

I really hope someone can point me in the right direction

Thanks in advance

Link to comment
Share on other sites

The code that they have given you (unless you have not included it all) is only for a logo to be download to your site saying that your site is secure. I see no code for a clickable link someone can use to verify the integrity of your cert.

 

If you just want to add the image then add this code as the last line of your includes/boxes/information.php (Information Info Box), after downloading a copy of the cert image and uploading to the images folder on your site.

 

'<center><img src="images/yourimage.jpg" border=0>' . '</a></center><br>');

 

If you want it to be a clickable link, to an address where your site's cert will be validated for the customer, then use this sort of code:

 

'<center><a href="https://verificiation_address_here" target="_blank"><img src="images/yourimage.jpg" border=0>' . '</a></center><br>');

 

Vger

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...