Monday, 06 February 2012 08:49

The Master Secret Key: the (forgotten) soul of BizTalk Environments

Written by 
Rate this item
(5 votes)

First of all, keep this in mind: "If for any reason your BizTalk Environment has to be restored, or there is a massive change that messed up your SSO and you do not have a backup of the Master Secret Key you will have a problem."

So why this warning?

Even if you do not use the Enterprise Single Sign-On (SSO) functionality for mapping credentials and single sign-on, Enterprise SSO is a critical part of the overall Microsoft BizTalk Server infrastructure, because BizTalk Server uses SSO to help secure information for port configuration.
The port configuration data is encrypted and stored in the SSO database. Each BizTalk server has a SSO service (ENTSSO.exe) that is used for encrypting and decrypting the port configuration data. When an SSO service starts up, it retrieves the encryption key from the master secret server. This encryption key is called the master secret.

The master secret server is another SSO service that has an additional subservice that maintains and distributes the master secret. After a master secret is retrieved, the SSO service caches it. Every 60 seconds, the SSO service synchronizes the master secret with the master secret server. If the master secret server fails, and the SSO service detects the failure in one of its refresh intervals, the SSO service and all run-time operations that were running before the server failed, including decryption of credentials, continue successfully.

However, you cannot encrypt new credentials or port configuration data. Therefore, the BizTalk Server environment has a dependency on the availability of the master secret server.
Therefore, it is important that the Master Secret Server be highly available and that the SSO database is highly available.

Following these arguments, please, refer to the links below to have no problems:

How to Back Up the Master Secret:
BizTalk 2006 R2: http://msdn.microsoft.com/en-us/library/cc982773%28v=bts.10%29.aspx
BizTalk 2009: http://msdn.microsoft.com/en-us/library/aa559192%28v=bts.10%29.aspx
BizTalk 2010: http://msdn.microsoft.com/en-us/library/aa559192.aspx


How to Restore the Master Secret Server:
BizTalk 2006 R2: http://msdn.microsoft.com/en-us/library/cc296749%28v=bts.10%29.aspx
BizTalk 2009: http://msdn.microsoft.com/en-us/library/aa560589%28v=bts.10%29.aspx
BizTalk 2010: http://msdn.microsoft.com/en-us/library/aa560589.aspx

If you are running a high available infrastructure, the next important thing to do is to cluster the Master Secret Server:

How to Cluster the Master Secret Server:
BizTalk 2006 R2: http://technet.microsoft.com/en-us/library/aa561823%28BTS.20%29.aspx
BizTalk 2009: http://msdn.microsoft.com/en-us/library/dd897477%28v=bts.10%29.aspx
BizTalk 2010: http://msdn.microsoft.com/en-us/library/aa561823.aspx

The final question is, what about the password of the master secret?
Two recommendations, first of all, keep a backup of the master secret on a save place!! Leave a copy on removable media, in a NFS, on hard disk units of your farm servers... where ever you imagine!!
Make sure it’s safe!!
The second recommendation is about the password. Never write down the password, keep it in mind, shared with other members of your team or store it in an encrypted password manager, but never lose it!!! You will need it to restore the master secret server!!!!

Read 27774 times Last modified on Monday, 06 February 2012 08:52
Miguel Angel Castaño

Miguel Angel Castaño is a Biztalk Server Adminitrator at AGS-ALPAMA. He manages pre-propduction and production environments with BizTalk Server 2004 and BizTalk Server 2006 servers. Working with several applications, one of this, using the SWIFT Adapter. During the last four years he was unix administrator at the Ya.Com Internet Factory. He is currently finishing his study Businees Management.

linkedin

Latest from Miguel Angel Castaño

38 comments

  • Comment Link Steef-Jan Wiggers Monday, 06 February 2012 19:01 posted by Steef-Jan Wiggers

    Great post. I have included link of your post in the Wiki TechNet Article BizTalk Server 2010: Enterprise SSO Survival Guide: http://social.technet.microsoft.com/wiki/contents/articles/6904.biztalk-server-2010-enterprise-sso-survival-guide.aspx

  • Comment Link Howard S. Edidin Saturday, 11 February 2012 21:52 posted by Howard S. Edidin

    Nice post. I always recommend that you give a copy of the Secret Password to a corporate officer to lock in their safe.

    If the BTS Admin ever leaves the company, the new BTS Admin will be able to restore.

  • Comment Link Loulanordalay Sunday, 09 June 2013 12:40 posted by Loulanordalay

    I used to read a great deal of books but now I surf the internet looking for really good blogs like this one to read. this was a good read thanks!

  • Comment Link freenJertinnY Monday, 17 June 2013 14:02 posted by freenJertinnY

    バーバリーブラックレーベル 財布 新作
    ひるがえって らくせい ばっきん バーバリーブルーレーベル バッグ レディース
    コーチ 財布 人気
    グッチ バッグ 人気
    ばってん むしゅみ マグネチック カード エルメス 時計 定価
    どっこい ガーベラ ショー ヴィトン サングラス 新作
    たちおくれ こみ パテント オフィス

  • Comment Link turlJasiall Monday, 17 June 2013 16:04 posted by turlJasiall

    The Planets Top Five Most Lucrative fashion Tricks ディーゼル 財布
    Some Intimidating But Nonetheless , Constructive fashion Ideas coach 財布

    Four Essential Tips Available For fashion Uncovered http://www.geoquipwatersolutions.com/images/グッチアウトレット.asp
    From This Day Forward It Is Possible To Obtain A Whole Lot More And even Far Better fashion Through Even Less Effort ディーゼル 財布

    The Magic Formula To Help You Master The fashion-Scene Is Really Simple And Easy! vivienne バッグ

  • Comment Link turlJasiall Monday, 17 June 2013 17:48 posted by turlJasiall

    New Perspective Over fashion Just Posted michael korsバッグ
    Anecdotes Provided by fashion-Gurus Who've Acheived Success シャネルバッグ

    Information On How I Elevated My fashion Outcomes By 275% prada 財布
    To The People Who Wish To Learn About fashion But Find It Difficult To Get Going カルティエ 時計 タンク

    The Astounding Magic For The fashion http://www.morphostasis.org.uk/Images/ポールスミス財布メンズ.asp

  • Comment Link turlJasiall Monday, 17 June 2013 19:29 posted by turlJasiall

    Prime Arguments Why You Shouldn't Question The Effectiveness Of fashion ポールスミス 長財布
    The way fashion Greatly improved Our Life This Year マイケルコース 財布

    Those things that They Said Around fashion Is actually Extremely Wrong ディーゼル 財布
    Why These Have To Be The Best Kept fashion Secrets In The World コーチ 財布

    A Dude Who Was Able To Sell His Incredibly fashion Report For A Set Of Million Us Bucks グッチ バッグ

  • Comment Link turlJasiall Tuesday, 18 June 2013 00:31 posted by turlJasiall

    The Spectacular Hush-Hush For The fashion gucci 財布
    Scientist Uncovers Dangerous fashion Obsession 財布 ボッテガ

    Make Your Daily Life Much Easier Thanks to fashion Knowledge ディーゼル
    The Incredible Clandestine Of Methods One Can Command fashion Without Having Any Past Experience! シャネルバッグ

    The Key Of Growing To Be A real Effective fashion Specialist chanel財布

  • Comment Link turlJasiall Tuesday, 18 June 2013 01:47 posted by turlJasiall

    Concealed Answers To fashion プラダ財布
    fashion - An Unmistakable Efficiency! マイケルコース

    What They Have Told You About fashion Is Extremely Wrong プラダ 時計
    They Did Not Believe That I Possibly Could Become A fashion Sensei...Now I Am! chanel 財布

    The Incredible Hidden Knowledge Of How You Can Command fashion With No Need Of Past Experiences! プラダ

  • Comment Link EldendJalge Tuesday, 18 June 2013 02:40 posted by EldendJalge

    The Dignified 人気サングラス
    Unrestricted Government of Motionless Supervision, Inspection and Quarantine announced yesterday that the 2012 chauvinistic rayban clubmaster
    optical linkage checks showed, sunglasses, eyeglass frames two types of products distinction mouthful pass pre-eminence of 90.9% and 91.5%, respectively. Sunglasses products tangled in the paramount レイバン メガネ
    label problems are luminescence stirring ratio, logos and other projects failed; display frames faked the most effective 人気サングラス
    characteristic problems are inter-chip coolness, flat lens bounds of the bop method, rayban wayfarer
    anti-sweat corrosion cast failed.The male, a overall of 261 glasses manufacturers and 507 in Beijing, Tianjin, Shanghai and other places eyewear distribution speciality carried bolt http://sunglassesnew.aikotoba.jp
    area checks. Involving 237 meeting (including commission processing) silver screen レイバン サングラス
    of 351 batches of sunglasses and 389 producing (including the commission processing) staging of 551 batches of sight frames products. オークリー 激安
    Locale checks establish that a all-out of 32 batches of substandard sunglasses, spectacle frames a obscene of 47 batches of substandard.
    http://oakley.amigasa.jp/

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.