{"id":2351,"date":"2012-03-04T07:30:13","date_gmt":"2012-03-04T06:30:13","guid":{"rendered":"http:\/\/c-nergy.be\/blog\/?p=2351"},"modified":"2012-03-03T09:53:05","modified_gmt":"2012-03-03T08:53:05","slug":"exchange-2010-ssl-offloading-using-zen-load-balancer-part-iv","status":"publish","type":"post","link":"http:\/\/c-nergy.be\/blog\/?p=2351","title":{"rendered":"Exchange 2010 SSL Offloading using Zen Load Balancer- Part IV"},"content":{"rendered":"<p style=\"text-align: center;\">\u00a0<a href=\"http:\/\/c-nergy.be\/blog\/wp-content\/uploads\/logpost.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2363\" title=\"logpost\" src=\"http:\/\/c-nergy.be\/blog\/wp-content\/uploads\/logpost-300x170.png\" alt=\"\" width=\"300\" height=\"170\" srcset=\"http:\/\/c-nergy.be\/blog\/wp-content\/uploads\/logpost-300x170.png 300w, http:\/\/c-nergy.be\/blog\/wp-content\/uploads\/logpost.png 354w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Hello World,<\/p>\n<p style=\"text-align: justify;\">Finally, we will conclude\u00a0this 4-part article related to the SSL offloading\u00a0configuration that can be used within an Exchange infrastructure.\u00a0 In <a href=\"http:\/\/c-nergy.be\/blog\/?p=2326\">part III<\/a> of this article, we have configured the Zen Load Balancer in such way that the Exchange Traffic to CAS servers are load balanced.\u00a0 The configuration is not complete.\u00a0 We still need to configure our Certificates accordingly on the Zen Load Balancer and we need to tweak our Exchange servers in order for them to use the SSL Offloading configuration.<\/p>\n<h2 style=\"text-align: justify;\">I. Configuring the Certificates on the Zen Load Balancer<\/h2>\n<p style=\"text-align: justify;\">\u00a0To perform this taks, we will need to go through 3 stetps :<\/p>\n<ul>\n<li>\n<div style=\"text-align: justify;\">Step 1 &#8211; Export Certificates from the Exchange Server<\/div>\n<\/li>\n<li>\n<div style=\"text-align: justify;\">Step 2 &#8211; Convert the Certificate to .pem format<\/div>\n<\/li>\n<li>\n<div style=\"text-align: justify;\">Step 3 &#8211; Import the certificate in the Zen Load Balancer<\/div>\n<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">Step 1 &#8211; Export SSL Certificates from Exchange<\/h3>\n<p style=\"text-align: justify;\">Open your Exchange Console. Expand the Server Configuration Node and Click on it.\u00a0 On the mid pane, you select one of you CLient Access Server.\u00a0 In the mid pane (bottom section), you will see the certificates used by Exchange.\u00a0 Identify the Certificate that have been issued to you by your Certificate Authority, and right-click on it.\u00a0 Then Simply select<strong> Export Certificate<\/strong><\/p>\n<p style=\"text-align: center;\">ngg_shortcode_0_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">The Export certificate Wizard starts.\u00a0 In the Page, specify where to store the exported File and also provide a password. Press The Export Button<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_1_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">Check that you receive green ticks. If everything is OK, you can press Finish&#8230;<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_2_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">You&#8217;ve just exported your certificate<\/p>\n<p>&nbsp;<\/p>\n<h3>Step\u00a02 &#8211; Convert the certificate from pfx format into pem format<\/h3>\n<p style=\"text-align: justify;\">The Zen load Balancer (version 2 -release client 1) support import of certificates.\u00a0 However, the software accepts only .pem files.\u00a0 Before beign able to import the file, you will first need to convert the format.\u00a0 To do this, you can simply use the <a href=\"https:\/\/www.sslshopper.com\/ssl-converter.html\">following web site interface <\/a>(if you are running in a test environment).<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_3_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">In a production environment where you need to convert from .pfx form to .pem format, it&#8217;s highly recommended to use the OpenSSL utility on your own machine\/network.\u00a0 This way you do not have to expose your private key.\u00a0 You have to download the OpenSSL utility. When done, you can open a command prompt and type the following command to convert your .pfx file int .pem file.<\/p>\n<p style=\"padding-left: 30px;\"><strong>openssl pkcs12 -in c:\\certs\\exchangeCertificate.pfx -out c:\\certs\\ExchangeCertificate.pem \u2013nodes<\/strong><\/p>\n<p style=\"text-align: justify;\">You will be prompted for a password.\u00a0 Enter the password you have used during the Export operation. When done, you will have a .pem certificate that can be imported into the Zen Load Balancer appliance.<\/p>\n<h3>Step\u00a03 &#8211; Import the Certificate into the Zen Load Balancer Appliance<\/h3>\n<p style=\"text-align: justify;\">From your browser, go to the Web interface management of the Zen Load Balancer.\u00a0 On the menu, click on\u00a0<strong>Manage<\/strong> and then click on <strong>certificates<\/strong><\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_4_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">The Manage Certificate pages opens up.\u00a0 Click on the Green arrow to import your certificate files.\u00a0 You will see a popup box asking for the location of the pem file.\u00a0 Browse to this location and press Upload.<\/p>\n<p style=\"text-align: center;\">ngg_shortcode_5_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">If everything went fine, you should see your new certificate.<\/p>\n<p style=\"text-align: center;\">ngg_shortcode_6_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">To finalize you installation, you should edit the Outlook WebApp Farm settings and ensure that your are using the newly imported certificate.<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_7_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<h2>II. Finalizing the Exchange configuration for SSL Offloading Support<\/h2>\n<p style=\"text-align: justify;\">This<a href=\"http:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/1267.how-to-configure-ssl-offloading-in-exchange-2010.aspx\"> link <\/a>explains how to configure your Exchange 2010 SP1 to work in conjunction with SSL offloading feature. The link will explain the configuration to be performed for all Exchange services that you want to offload. In this post, we will simply focus on two services : Outlook WebApp and the Exchange Control Panel(ECP).<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">To configure SSL offloading for Outlook Web App and ECP, you will need to create a registry key on each CAS servers that are member of your CAS Array.\u00a0 Open your registry editor (regedit) and go to the following location<\/p>\n<p style=\"padding-left: 30px;\"><strong><em>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\MSExchange OWA <\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">Under this registry key, create a new REG_DWORD key named \u201c<strong>SSLOffloaded<\/strong>\u201d and set the value for this key to \u201c<strong>1<\/strong>\u201d<\/p>\n<p style=\"text-align: center;\">ngg_shortcode_8_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">After adding this registry key, we will need to disable the SSL requirements for the OWA directory and for the ECP directory.\u00a0 We will simply open our IIS Manager, expand the Default Web site and locate the owa virtual Directory.\u00a0\u00a0In the mid pane, double-click on the SSL settings (padlock icon)<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_9_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">In the SSL Setting page, uncheck the box Require SSL<\/p>\n<p style=\"text-align: center;\">\u00a0ngg_shortcode_10_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">You will need to perform this operation also on the ECP virtual directory.\u00a0 Click on the ecp virtual directory, double-click on the SSL Settings and in the SSL settings page, ensure that the Require SSL check box is <strong>not ticked<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note: <\/strong><\/p>\n<p style=\"text-align: justify;\">To offload Offline Address Book, Active Sync,\u00a0Autodiscover Service, Exchange Web Services,\u00a0you simply need to remove the SSL requirements within the IIS Manager\u00a0by locating their virtual directories<\/p>\n<p style=\"text-align: justify;\">For\u00a0Mailbox Replication Proxy Service, to enable SSL offloading, you will need to edit the web.config file located under <strong>\u00a0<strong>C:\\Program Files\\Microsoft\\Exchange Server\\V14\\ClientAccess\\exchweb\\ews.\u00a0 <\/strong><\/strong>In the file, search for <strong>MRSProxyHttpsBinding, click Find Next twice.\u00a0 <\/strong>When arrived at this point, remove the &#8220;s&#8221; from the line <strong><em>&lt;httpsTransport authenticationScheme=&#8221;Negotiate&#8221; maxReceivedMessageSize=&#8221;1048576&#8243; \/&gt;<\/em><\/strong><\/p>\n<p><strong><\/strong>For more information, please have a look at <a href=\"http:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/1267.how-to-configure-ssl-offloading-in-exchange-2010.aspx\">this detailed description about SSL offloading<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Final Notes<\/h2>\n<p style=\"text-align: justify;\">That&#8217;s it. We did it ! \u00a0You have offloaded your SSL connection through your Zen Load Balancer.\u00a0 If you open your web browser,uisng the FQDN used by your certificates, and where the IP address of the load balancer is associated to, you will see that you can access easily (and with no certificates prompt messages) your Outlook WebApp\/ecp web interface.<\/p>\n<p style=\"text-align: center;\">ngg_shortcode_11_placeholder<\/p>\n<p style=\"text-align: center;\"><em>Click on image for better resolution<\/em><\/p>\n<p style=\"text-align: justify;\">All in all, the process is really not complex and you can find a lot of information on how to ssl offload an Exchange Infrastructure.\u00a0\u00a0I&#8217;ll need to perform some additional tests regarding sticky clients and the Zen load balancer but so far, I haven&#8217;t encounter any issues.<\/p>\n<p style=\"text-align: justify;\">I hope that you enjoyed this long but quite interesting step by step guide.<\/p>\n<p style=\"text-align: justify;\">Till next Time<\/p>\n<p style=\"text-align: justify;\">See Ya<\/p>\n<p>&nbsp;<\/p>\n<p>Article in this series :<\/p>\n<ul>\n<li><em>Part I : <a href=\"http:\/\/c-nergy.be\/blog\/?p=2270\">Exchange 2010 SSL Offloading using Zen Load Balancer<\/a> &#8211; 1 <\/em><\/li>\n<li><em>Part II : <a href=\"http:\/\/c-nergy.be\/blog\/?p=2292\">Exchange 2010 SSL Offloading using Zen Load Balancer<\/a> &#8211; 2 <\/em><\/li>\n<li><em>Part III : <a href=\"http:\/\/c-nergy.be\/blog\/?p=2326\">Exchange 2010 SSL Offloading using Zen load Balancer<\/a> &#8211; 3 <\/em><\/li>\n<li><em>Part IV : <a href=\"http:\/\/c-nergy.be\/blog\/?p=2351\">Exchange 2010 SSL Offloaduing using Zen load Balancer &#8211; 4<\/a><\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 &nbsp; Hello World, Finally, we will conclude\u00a0this 4-part article related to the SSL offloading\u00a0configuration that can be used within an Exchange infrastructure.\u00a0 In part III of this article, we have configured the Zen Load<a class=\"read-more\" href=\"http:\/\/c-nergy.be\/blog\/?p=2351\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[25,105],"tags":[26,142,400],"class_list":["post-2351","post","type-post","status-publish","format-standard","hentry","category-exchange","category-zen-load-balancer","tag-exchange-2010","tag-ssl-offloading","tag-zen-load-balancer"],"_links":{"self":[{"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2351"}],"version-history":[{"count":15,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2351\/revisions"}],"predecessor-version":[{"id":2462,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2351\/revisions\/2462"}],"wp:attachment":[{"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2351"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/c-nergy.be\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}