Blog Entry

aevans's picture

Securing your agents, Part I

Author Info

19 July 2007 - 9:24am
Submitted by: aevans

Tags

blog
Reads:

129

Score:
0
0
 
Comments:

2

I have a note in Tomboy with a list of blog topics that I have been compiling, so I am on a bit of a blogfest at the moment to get some of them done - incidentally I am looking for more topics if you have any ideas?

Over the years I have dealt with huge numbers of GroupWise systems, both during onsite visits and on dialins and a very common theme is that customers have not bothered to secure their agents in any shape or form - some not even enabling a username/password. At the most basic level I would certainly recommend securing the HTTP interface on any agent where you have enabled it - yes, this is a bit of work, but if you don't do all traffic is basic, unencrypted HTTP - including the password. Here's how:

First, set up a username and password to secure the agents, otherwise the interface is completely open to the public. In ConsoleOne go to the properties of the agent in question and, on the Agent Settings tab (optional agent settings on GWIA and WA), set an HTTP Username and Password. This does not need to exist in eDir, it's just an arbitrary name. If you are doing multiple agents I would recommend trying to keep them all the same.

POA Settings
Quick Tip - instead of having to remember all the HTTP ports you can connect to the C/S port on the POA (normally 1677) or the MTP port on the MTA (normally 7100) and you will get redirected. Eg - http://10.10.10.10:1677
At this point all the traffic is still cleartext so we need to SSLize the connection (not sure that's a word but I like it). I don't think there is any need to get an expensive Verisign minted certificate for this - I would just use a self signed cert from your own certificate server. The easiest way to do this is using iManager but first you need to create a CSR (Certificate Signing Request). Go to your GW CD/admin/utility/gwcsrgen and run gwcsrgen.exe. Fill it in like in the diagram, but make sure the values reflect your own server and that any filenames you use are 8.3 format.
csrgen.jpg

Once you have the .key and the CSR you can start iManager. Down the left there should be a Novell Certificate Server task - expand that and select Issue Certificate. If it's not there check to see if you have the .NPM installed (hit the configure option and see if you are told that there are new ones to install). When you do get to the wizard you will first have to browse for the CSR you created. Then you need to select the usage - I put SSL or TLS and Server Authentication and User Authentication.

cert1.jpg

On the next page I select End Entity and then accept the default 2 year validity and save as a Base64 format file. Now download the resulting certificate.

cert2.jpg

Now you have a .key file and a .b64 file - you need to copy these to a place where the agent can access them - for best practices I always place them at the root of the domain or po directory. Then, in ConsoleOne, go to the SSL Settings tab on the agent you want to secure and browse to the .b64 and the .key files you created. Set the .key password to whatever you entered in gwcsrgen.

poa.jpg

Finally, on the Network Address tab on the same agent set the SSL drop down next to HTTP to 'Enabled'. You are done with that agent. You should now do the rest - you need to generate a new CSR, .key and .b64 for each server that runs the agents. What I have not tried, but it should work, is to create a wildcard certificate and key and secure all you agents using that. This would be much less time consuming - if anyone out there has already done it and it worked let us know.

Oh, and as a point worth noting I spent an hour, generating and regenerating certificates and swearing at iManager, because Firefox was giving me 8101 errors and refusing to connect.  It was only when I went into IE that I noticed the certificate was not yet valid - my VMWare session with my NetWare 6.5 box was running in the future so the certificate had the wrong dates.  So, sorry iManager.


Author Info

19 July 2007 - 9:24am
Submitted by: aevans

Tags




User Comments

No wonder everyone is still

Submitted by Joetje F (not verified) on 19 July 2007 - 3:05pm.

No wonder everyone is still using ConsoleOne ;)

GWAVA has a good wiki page to create the certificates using OpenSSL on Linux (http://support.gwava.com/wiki/index.php/Securing_y...). Much easier if you've access to linux (as everyone should really).

Thanks for putting that out

Submitted by FlyingGuy (not verified) on 20 July 2007 - 3:38pm.

Thanks for putting that out there!

Keep up the good posts

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
14 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.