HOW TO CHECK NORTON VERISIGN SECURITY SEAL IN LOCAL DEVELOPMENT ENVIORNMENT

I was working on a Liferay project. The project was pretty much simple but we faced some issue regarding integration of Norton VeriSign Seal.

 

What is Norton Verisign Security Seal (NVSS)?

If you are providing enterprise level IT solution then you should make sure about the spamming and other hacking programs. You should enable SSL environment. If we use Norton Verisign Security Seal we get total security against online fraud. And users can easily trust the site.

 

What NVSS do?

  1. Daily malware scanning and vulnerability testing

  2. ECC and DSA algorithm agility

  3. Improved SSL Tools for certificate checking

  4. Seal-in-search

  5. Express and auto-renewals

  6. Enterprise offering - Certificate Intelligence Center

 

Why should we use NVSS?

  • If you have used NVSS with your portal or site, you would get recognition by users automatically. It helps you to get international visitors.

  • For an eCommerce portal NVSS says to customer that to do financial transaction with this portal is as safer as with your bank. Means no fraud activity being involved.

 

Getting NVSS

  1. You can get the code by clicking here

  2. Once you registered, you will get the code / script to place on your portal

  3. Now time to place that code somewhere on registered domain (please make sure that the domain name and registered domain is the same - I explain why it's necessary)

It is very easy if you are placing code on actual hosted portal. But wait Liferay developer may face problem I have passed through.

  • I wanted to test the CODE into my local instance before putting it LIVE
  • But I couldn't find the NVSS LOGO anywhere.
  • NVSS Logo

I was not sure how to fix this and I failed to get solution online as well.

Later I realize that code provided by the site is having a URL that we had registered with. Suddenly I strike my mind and below is the solution.

 

HOW TO CHECK NORTON VERISIGN SECURITY SEAL IN LOCAL DEVELOPMENT ENVIRONMENT

 

The Code for domainname.com:

<script type="text/javascript" 
    src="https://seal.verisign.com/getseal?
         host_name=domainname.com&amp;
         size=XS&amp;
         use_flash=NO&amp;
         use_transparent=NO&amp;
         lang=en">
</script>

I found the URL in a code and URL in a browser mismatchingBeing a developer you should have idea that we access local instance by hitting localhost:8080.

To show NVSS logo in your local instance - you need to change your local URL to actual one. Means if your registered URL is domainname.com then you need to change the localhost:8080 to domainname.com:8080.

You can do this by changing a line of code in HOST file.

 

The Solution

(I am following Windows OS)

  1. Press windows + R (will open a dialog)

  2. Enter “drivers” (will open explorer)

  3. Go to “etc” folder

  4. Open “host” file with notepad++ (or some text editor)

  5. copy "127.0.0.1     localhost" line and paste just next line to it

  6. change “localhost” with your domain name – means “127.0.0.1     domainname.com

  7. go to browser and paste domainname.com:8080 and hit

 

On actual Development environment you can follow below standard

  • Set up a development environment where the domain name matches their production website that is secured by a Symantec SSL certificate.

  • E.g. If the production website is www.domainname.com, the development environment could be test.domainname.com

 

Happy Coding :)

1