Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
June 19, 2013, 11:57:50 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
669166
Posts
71153
Topics
145755
Members
Latest Member:
kenix
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Business / Enterprise Security Products & Services
Digital Certificates
SSL Certificate
SSL certificate for cluster behind load balancer
« previous
next »
Pages:
[
1
]
Author
Topic: SSL certificate for cluster behind load balancer (Read 9492 times)
chenxg
Newbie
Offline
Posts: 7
SSL certificate for cluster behind load balancer
«
on:
May 12, 2012, 02:33:25 AM »
Hi, would like to get some advice on what kind of SSL certificate we could use for our scenario specified below:
We have two windows servers (running IIS as the webserver) forming a cluster for high availability. Each windows server has its own IP, hostname and virtual dns/domain, e.g. abc1.com.sg and abc2.com.sg. We also have assigned virtual dns abc.com.sg to a load balancer, and defined the rule that when user reach the load balancer at abc.com.sg, it will direct the traffic to abc1.com.sg and abc2.com.sg in a round-robin manner.
We want to protect the abc.com.sg as this is the URL that users are using to access the application.
Please advise what kind of SSL cert we should purchase.
Thank you.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #1 on:
May 12, 2012, 05:31:58 PM »
Quote from: chenxg on May 12, 2012, 02:33:25 AM
Please advise what kind of SSL cert we should purchase.
Hi chenxg,
If you want people to be able to trust your site as being your company URL you need a so called EV certificate.
That means the business behind the site is verified and trusted, for the other types only the domain-name is validated but that tells the user nothing about the company behind it.
http://ssl.comodo.com/comodo-ev-ssl.php
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
chenxg
Newbie
Offline
Posts: 7
Re: SSL certificate for cluster behind load balancer
«
Reply #2 on:
May 13, 2012, 01:56:46 AM »
Hi Ronny,
Thanks for the prompt reply. Would like to clarify that this is an internal application behind the company firewall, and it is accessed by our internal staff within the intranet, not an internet facing URL. The reason we want to use the SSL certificate is to encrypt some confidential data while being transmitted between the client and server.
My issue here is that the two clustered servers (IIS as the webserver) are having different domain names, i.e. abc1.com.sg and abc2.com.sg and the two servers are behind the load balancer. We want people to access the application via the load balancer at domain name abc.com.sg so that the load are shared by two servers.
By the way, we are using hard ware load balancer, not the software load balancer, e.g. NLB that comes with the windows server.
Your advice is very much appreciated.
Thanks.
Logged
technion
Comodo Member
Offline
Posts: 27
Re: SSL certificate for cluster behind load balancer
«
Reply #3 on:
May 14, 2012, 01:56:47 AM »
Typical load balancer configuration involves the SSL offload functionality being present inside that load balancer.
This would mean the balancer itself would have an SSL certificate for the name "abc.com.sg". For the traffic between the balancer and the server itself, you have a few options. The obvious "ideal" solution is purchasing a separate certificate for each server, abc1, abc2 etc such that the balancer passes traffic encypted to them directly. You have a few realities though:
* The network between your balancer and the internal servers should be an isolated, out of band network. It is therefore not prone to intercept and arguably there is no need for SSL there at all
* Self signed certificates on these servers will never be visible to the end user, only to your load balancer. That hardware is probably unconcerned with the quality of a certificate.
Your third option here is buy a SAN certificate, place all relevant names on that cert, and install the same certificate on all your servers and on load balancer. The more servers you have, the more cost effective this becomes.
I'm not sure Ronny's post is much more than a sales pitch with regards to answer your question?
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #4 on:
May 14, 2012, 10:21:52 AM »
Quote from: technion on May 14, 2012, 01:56:47 AM
I'm not sure Ronny's post is much more than a sales pitch with regards to answer your question?
I have nothing to sell here, I'm
NOT COMODO STAFF
just a volunteer helping around on the forums.
I was trying to keep my questions simple to not overly confuse the OP with to much questions and technical details in the first response.
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #5 on:
May 14, 2012, 10:32:25 AM »
Quote from: chenxg on May 13, 2012, 01:56:46 AM
Hi Ronny,
Thanks for the prompt reply. Would like to clarify that this is an internal application behind the company firewall, and it is accessed by our internal staff within the intranet, not an internet facing URL. The reason we want to use the SSL certificate is to encrypt some confidential data while being transmitted between the client and server.
Your welcome.
Quote
My issue here is that the two clustered servers (IIS as the webserver) are having different domain names, i.e. abc1.com.sg and abc2.com.sg and the two servers are behind the load balancer. We want people to access the application via the load balancer at domain name abc.com.sg so that the load are shared by two servers.
Is it enough to only encrypt the traffic between the client and the SSL Terminator (Loadbalancer/Content Switch) ?
or does the traffic between the SSL Terminator and the web servers also need encryption?
In the first case the loadbalancer only needs to be configured for Client side SSL Termination.
In the second case the loadbalancer needs to act as a SSL client to access the web servers which in that case also need to run SSL with some sort of Certificate.
If we focus on the first case you need to make sure both servers are configured to listen to the host-header 'abc.com.sg' because that will be the name the clients send out to the IIS server.
IIS needs to be able to show the proper content based on that name.
Quote
By the way, we are using hard ware load balancer, not the software load balancer, e.g. NLB that comes with the windows server.
Be very glad, because NLB can hardly be called a loadbalancer, it's a very dirty trick Microsoft is pulling there on the network.
My advice would be to stay as far a way as possible from implementing NLB.
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
chenxg
Newbie
Offline
Posts: 7
Re: SSL certificate for cluster behind load balancer
«
Reply #6 on:
May 14, 2012, 08:57:24 PM »
Hi Ronny,
Appreciate your comments very much, at least I can see some light.
If we want to encrypt the traffic all the way from browser to the server, do we need to install the SSL cert for domain "abc.com.sg" on the load balancer and install SSL cert for "abc1.com.sg" on one server and cert for "abc2.com.sg" on another server?
By the way, I fully agree with you regarding the Microsoft NLB.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #7 on:
May 15, 2012, 04:22:30 AM »
I would test the following first.
Install the abc.com.sg on all 3 the Certificates are not bound to how many machines you install them on so you can buy one and use them on all 3 if your setup allows this.
Both servers should listen for (Host-Header) anyway and have the certificate for abc.com.sg
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
chenxg
Newbie
Offline
Posts: 7
Re: SSL certificate for cluster behind load balancer
«
Reply #8 on:
May 15, 2012, 05:34:14 AM »
Hi Ronny,
Before I saw your reply, we did exactly the same testing, and you know what, it works....
We install the certificate for abc.com.sg on the 2 servers behind the load balancer, and it just works, we don't even need to install the cert on the load balancer.
The conclusion: The end user is accessing the application at abc.com.sg, so that is the domain to be protected and the cert to be installed on both servers behind the load balancer. The domain names of abc1 and abc2 are irrelevant here as they are not part of the URL at all.
PS: Seems the forum here is much more helpful than sending emails directly to Comodo tech support, who, in my opinion, doesn't really understand my problem and yet keep asking us to buy those expensive SSL cert, like wildcard or UCC.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #9 on:
May 15, 2012, 06:09:17 AM »
Quote from: chenxg on May 15, 2012, 05:34:14 AM
We install the certificate for abc.com.sg on the 2 servers behind the load balancer, and it just works, we don't even need to install the cert on the load balancer.
In that case the Loadbalancer is only doing Layer4 balancing (TCP port 443) and not the SSL termination (CPU off-loading from web servers).
Is your setup sticky so that a user always get's balanced to the same web-server after the initial balance decision?
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
chenxg
Newbie
Offline
Posts: 7
Re: SSL certificate for cluster behind load balancer
«
Reply #10 on:
May 15, 2012, 08:28:51 PM »
Quote from: Ronny on May 15, 2012, 06:09:17 AM
Is your setup sticky so that a user always get's balanced to the same web-server after the initial balance decision?
No, it is not sticky. We tested, it randomly direct my requests to the two servers in a round-robin manner, which is what we want.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 13253
Volunteer Moderator
Re: SSL certificate for cluster behind load balancer
«
Reply #11 on:
May 16, 2012, 07:20:34 AM »
Are you sure that is the desired design? because your causing SSL handshake/CPU overhead with this setup.
Say the client get's connected to the first server and starts SSL negotiation all finished CPU cycles done second request ends up on the second server SSL needs to be negotiated again because that specific server doesn't know the client's key/session etc causing CPU overload and troubleshooting complexity.
Logged
Volunteer Moderator
Any concerns?
Please send me a
PM
or review the
Forum Policy - update Jan 3rd 2013!
chenxg
Newbie
Offline
Posts: 7
Re: SSL certificate for cluster behind load balancer
«
Reply #12 on:
May 16, 2012, 08:19:37 PM »
Quote from: Ronny on May 16, 2012, 07:20:34 AM
Are you sure that is the desired design? because your causing SSL handshake/CPU overhead with this setup.
Say the client get's connected to the first server and starts SSL negotiation all finished CPU cycles done second request ends up on the second server SSL needs to be negotiated again because that specific server doesn't know the client's key/session etc causing CPU overload and troubleshooting complexity.
Now I understand why you ask the question about the stickiness in the other post. I guess the stickiness has to be set up at the load balancer, right? I need to check with my network guy on this.
But what will happen if the client gets connected with the first server, and subsequently the first server is down, would the client still be directed to the first server by the load balancer because of the sticky set-up?
«
Last Edit: May 16, 2012, 11:03:57 PM by chenxg
»
Logged
technion
Comodo Member
Offline
Posts: 27
Re: SSL certificate for cluster behind load balancer
«
Reply #13 on:
May 17, 2012, 12:03:55 AM »
Quote from: chenxg on May 16, 2012, 08:19:37 PM
Now I understand why you ask the question about the stickiness in the other post. I guess the stickiness has to be set up at the load balancer, right? I need to check with my network guy on this.
But what will happen if the client gets connected with the first server, and subsequently the first server is down, would the client still be directed to the first server by the load balancer because of the sticky set-up?
The usual goal of a load balancer is to help reduce load on servers. Therefore any optimisation step is beneficial. Reestablishing the SSL handshake is not optimal, but if your servers are capable and your goal is availability, you may not care.
A "sticky" configuration will usually detect when one server is offline and act accordingly.
Logged
Tags:
SSL
Cluster
load balancer
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> How Can I Help Comodo? (Please We Need You!)
===> Report Comodo Forum / Web Site Issues
===> Please Tell Us Your Views and Vote Here!
===> Help Spread the Word - Banners and Logos
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Security Products & Services
-----------------------------
=> Comodo Internet Security - CIS
===> News / Announcements / Feedback - CIS
=====> Wishlist - CIS
===> Help - CIS
=====> Guides - CIS
=====> AntiVirus Help - CIS
=======> AntiVirus FAQ - CIS
=====> Firewall Help - CIS
=======> Firewall FAQ - CIS
=====> Defense+ / Sandbox Help - CIS
=======> Defense+ / Sandbox FAQ - CIS
=====> Install / Setup / Configuration Help - CIS
=======> Install / Setup / Configuration FAQ - CIS
===> Bug Reports - CIS
===> AV False Positive/Negative Detection Reporting
=> Comodo Cleaning Essentials + KillSwitch & Autoruns - CCE
===> News / Announcements / Feedback - CCE
=====> Wishlist - CCE
===> Help - CCE
===> Bug Reports - CCE
=> Comodo Antivirus for Mac OS X - CAVM
=> Comodo Antivirus for Linux - CAVL
=> Comodo Mobile Security - CMS
=> Comodo Time Machine - CTM
===> News / Announcements / Feedback - CTM
===> Help - CTM
=====> FAQ - CTM
===> Bug Reports - CTM
=> Comodo Dragon - CD
===> News / Announcements / Feedback - CD
=====> Wishlist - CD
===> Help - CD
=====> FAQ - CD
===> Bug Reports - CD
=> COMODO IceDragon - CID
===> News / Announcements / Feedback – CID
=====> Wishlist - CID
===> Help – CID
===> Bug Reports - CID
===> Beta Corner – CID
=> Comodo LoginPRO
=> Comodo Disk Encryption - CDE
===> News / Announcements / Feedback - CDE
=====> Wishlist - CDE
===> Help - CDE
=====> FAQ - CDE
===> Bug Reports - CDE
=> Comodo Secure DNS - DNS
===> News / Announcements / Feedback - DNS
===> Help - DNS
=> Comodo Unite (EasyVPN) - CUnite
===> News / Announcements / Feedback - CUnite
===> Help - CUnite
=====> FAQ - CUnite
===> Bug reports - CUnite
=> Comodo TrustConnect - CTC
=> Comodo SiteInspector - CSI
=> Comodo Valkyrie - FLS
=> Comodo Instant Malware Analysis Online - CIMA
=> Comodo Rescue Disk - CRD
-----------------------------
Desktop Utilities & Services
-----------------------------
=> Comodo System Utilities - CSU
===> News / Announcements / Feedback - CSU
===> Help - CSU
=====> FAQ - CSU
===> Wishlist - CSU
=> Comodo Backup - CB
===> News / Announcements / Feedback - CB
===> Comodo Cloud
===> Help - CB
=====> FAQ - CB
===> Wishlist - CB
=> Comodo Programs Manager - CPM
===> News / Announcements / Feedback – CPM
===> Help - CPM
===> Wishlist - CPM
=> GeekBuddy & Live PC Support
=> GeekBuddy PC Health Check - PCHC
===> News/ Announcements / Feedback – PCHC
===> Help - PCHC
-----------------------------
Business / Enterprise Security Products & Services
-----------------------------
=> Digital Certificates
===> Code Signing Certificate
===> Content Verification Certificate
===> Email Certificate
===> SSL Certificate
=> PCI DSS Compliance
=> Comodo Endpoint Security Manager
===> Endpoint Security Manager 1.6
===> Endpoint Security Manager 2.0 Business Edition
===> Endpoint Security Manager 2.1
===> Endpoint Security Manager 3.0
=====> CESM 3.0 Beta
===> ESM Console for Windows Phone
===> Earlier versions of CESM
=> Two Factor Authentication for Web Applications
=> Trustlogo
=> Hacker Guardian
=> Comodo Network Center - CNC
=> Comodo AntiSpam Gateway - Hosted Anti Spam Service
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> General Security Questions and Comments
=> Virus/Malware Removal Assistance
=> Leak Testing/Attacks/Vulnerability Research
=> Digital Certificates, Encryption and Digital Signing
=> Other Security Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Česky / Czech
===> Dansk / Danish
===> Nederlands / Dutch
===> Suomi / Finnish
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> Română / Romanian
===> По-русски / Russian
=====> News & FAQ
=====> Оффтоп (OFFTOP)
=====> Архив / Archive
===> Slovenský / Slovak
===> Slovenščina / Slovenian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> Việt / Vietnamese
===> Estonian
===> Arabic
-----------------------------
Archived Boards
-----------------------------
=> Discontinued Products
===> Comodo Web Application Firewall - CWAF
===> Comodo HopSurf - CHS
===> Comodo AntiSpam - CAS
=====> Help - CAS
=======> FAQ - CAS
=====> News / Announcements / Feedback - CAS
=======> Wishlist - CAS
=====> Bug Reports - CAS
===> Verification Engine - CVE
===> Comodo Secure Email - CSE
=====> News / Announcements / Feedback - CSE
=====> Help - CSE
=======> FAQ - CSE
=====> Bug Reports - CSE
===> Comodo Cloud Scanner - CCS
=====> News / Announcements / Feedback - CCS
=====> FAQ - CCS
=====> Beta Corner - CCS
=====> Wishlist - CCS
===> Comodo Anti-Viruspyware (CAVS)
=====> Help for Comodo AntiVirus
=====> FAQ for Comodo Anti-ViruSpyware
=====> Feedback/Comments/Announcements/News about CAVS
=====> CAVS BETA Corner
=====> Announcements
=====> Comodo BOClean Anti-Malware FAQ
===> Comodo Diskshield
===> Comodo Firewall
=====> Feedback/Comments/Announcements/News
=====> Help for v3
=====> Help for v2
=====> Frequently Asked Questions (FAQ) for Comodo firewall
=====> CFP BETA Corner
=======> 32 bit bug reports
=======> 64 bit bug reports
=====> Comodo Firewall Translations
=====> Bug Reports
===> i-Vault
===> Launch Pad (Discontinued)
===> Comodo Meet (Web Conferencing Product) (Discontinued)
===> Comodo Memory Firewall(Buffer Overflow Protection)
=====> Comodo Memory Firewall Beta Corner
=====> Help
=====> Frequently Asked Questions (Comodo Memory Firewall)
=====> Feedback/Comments/Announcements/News
===> Safesurf
===> Trusttoolbar (Discontinued)
===> Trustfax (online faxing)
===> Trustix Enterprise Firewall
===> User Anywhere (Remote Access product) (Discontinued)
===> UserTrust - First Independent Website Rating - Empowering our users!
===> Comodo Vulnerability Analyzer - CVA
===> ZTL
=> Comodo Wiki Project
Page created in 0.052 seconds with 21 queries.
Powered by SMF 1.1.18
|
SMF © 2006, Simple Machines
Design by
7dana.com