I have been working in IT since 2001 for companies such as Computacenter and Getronics. I started out as a first line support analyst supporting heterogeneous networks but rapidly worked my way up the ranks expanding my knowledge as I went to include areas such as system builds, deployments, networking, and security to name a few.In 2008 I decided to concentrate on the monitoring and management of large enterprise networks using Microsoft's System Center Operations Manager (OpsMgr) 2007 of which I have extensive knowledge. As testament to this the Windows Management User Group (WMUG), invited me to join their ranks as a Community Leader where I have been invaluable in helping to bolster the OpsMgr skills to the benefit of the group and it's members.I have now moved into an OpsMgr 2007 consultancy role to do what I like most - working with OpsMgr and sharing my knowledge and experiences with the community.
I published a post sometime ago on how to seal a management pack (http://www.aquilaweb.com/blog/index.php?itemid=85) but things are now a bit easier in OpsMgr R2. The install media for R2 includes the installer for the new Authoring Console which now provides functionality for sealing management packs. It doesn't completely simplify what is required to seal an MP as you still need to generate your own SNK file but at least you no longer need a long command line to perform the sealing.
Before sealing a management, or even generating the key required, there are a couple of prerequisites.
The steps below outline how to generate a key and get the public key token (lifted straight from my original post).
For key generation you will require .NET Framework 2.0 and any one of these:
For management pack sealing you will require:
Once the prereq's have been met you can now create your key and seal
up your management pack.
1. Create the key file by running this command: sn -k c:\pairkey.snk
2. Extract the public key to file: sn -p c:\pairkey.snk c:\pubkey
3. Extract public key and public key token from file: sn -tp c:\pubkey
Here is where things get a bit easier, once you have your SNK key you can now open the Authoring Console and seal your MP.
1. Open your unsealed MP that needs sealing within the Authoring Console.
2. Select File, Save As, Sealed and Signed Management Pack.
3. Select a location to save your new sealed MP and click Save.
4. Enter your Company Name and Copyright information and then select your SNK file created previously in the Choose a key file field. Click OK.
5. That's it, your sealed MP has been generated in the save location you specified.
Now your sealed MP has been created you can now import it into your environment. Remember though that you cannot import a sealed MP when an unsealed MP already exists with the same name. If you were previously working with an unsealed copy of your MP, delete it then import your sealed version.
Also, MPSeal.exe is still available within the Support Tools folder on the install media if for some reason you prefer to seal using the command line. Instructions here, http://www.aquilaweb.com/blog/index.php?itemid=85.
Hopefully that will make some of your lives a bit easier :-)