Showing posts with label Small Business Server. Show all posts
Showing posts with label Small Business Server. Show all posts

Thursday, April 29, 2010

Installing a Wildcard Certificate Using SBS 2008 Console

I needed to install a wildcard certificate into an SBS 2008 install. After acquiring the wildcard certificate I installed it into the Certificate Store for the Computer Account, into the Personal Certificates as per the instructions found in “How do I import an existing trusted certificate?” – found by opening SBS 2008 Console, clicking on Network, then clicking on the Connectivity tab and then clicking on the Certificate entry under Web Server Certificate.


Once I’d done that, I launched the Add A Trusted Certificate wizard. Problem is it would only show the self-generated certificate for the SBS 2008 install and not the wildcard certificate.


I got to thinking that a setting somewhere was restricting it to the domain and RWW prefix set in the Internet Address Management wizard, so I went hunting and found a solution.


The workaround is to open up regedit and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SmallBusinessServer\Networking.


In here you’ll find the two entries that dictate which certificates are displayed in the Add A Trusted Certificate Wizard – PublicFQDNPrefix and PublicFQDNProvider.


To get a wildcard certificate displayed in the wizard you’ll need to change PublicFQDNPrefix to *.



Make a note of the original value, as you’ll need to put it back once you’ve installed the wildcard certificate.


Now open up the SBS 2008 Console, click on Network, click on the Connectivity tab and run the Add A Trusted Certificate Wizard. You’ll now be able to see the wildcard certificate and install it.


Once you’ve successfully installed the certificate, go back to regedit and change PublicFQDNPrefix from * back to its original value.

Monday, January 12, 2009

Enabling Remote File Access in Outlook Web Access on SBS 2008

One of the nice features of Exchange Server 2007 that helps eliminates those irksome VPN clients (and the associated configuration pain) is the WSS and Windows File Share Integration.

This facility gives you read-only access to WSS sites and file servers sitting inside your network. Very handy if you need a file when you're on the road and no-one is in the office to e-mail it to you, or you can't use Remote Web Workplace to connect to an internal PC.

By default, Exchange Server 2007 on SBS 2008 is configured to allow access to files on remote file servers, but additional configuration is needed. Specifically, the names of the  servers need to be added.

Fire up the Exchange Management Console, expand Server Configuration and select Client Access.

Right-click on "owa (SBS Web Applications)" and select Properties.

Click on the Remote File Servers tab and click on Public Computer File Access and/or Private Computer File Access and confirm that file access is enabled accordingly.

The settings in these tabs relates to the features available depending on whether you select Private Computer or Public Computer when you log in to Outlook Web Access. Take this into consideration when deciding what you want to enable/disable.

Click on the Remote File Servers tab and click Allow...

Enter the server name you want to allow access, click Add, then click OK. If you want to allow access to the SBS server, enter its name here. Please note that all shares will be available to Outlook Web Access, depending on the user's access to those shares.

Similarly you can click on the Configure... button in the Remote File Servers tab and add "<company>.local" to enable access any WSS applications you have additional to the companyweb application. Replace <company>.local with the DNS suffix used by your SBS 2008 network.

Test your configuration by logging into Outlook Web Access, selecting the appropriate security profile. Now click on the Documents shortcut (you may need to click on the >> link under the OWA graphic to expand the Navigation Pane).

Click on Open Location.

Type in the UNC path to the file share (e.g. \\SERVER\Shared) and click Open.

Outlook Web Access will then display the shared folder contents. Click on "Add to Favorites" if you want to add the shared folder to your Documents Favourites list for quicker access on return visits.

 

Again, please note that this is read-only access - you will need to save any changes you make locally, then copy the changed file when you get back to the office. If you need read/write access without bothering with a VPN client then using companyweb via Remote Web Workplace is the preferred option.

Wednesday, November 05, 2008

Customising the Error Message for IP Block List Providers in Exchange Server 2007

One of the things I did for blocklist error messages in Exchange Server 2003 was to provide the lookup URL for the affected IP address. This makes life easier for the other end when they try to diagnose why their mail wasn't delivered.

Microsoft's Knowledge Base article 823866 details how to go about doing this by using the variables %0, %1 and %2.

When I performed my SBS2003 to SBS2008 migration, I went to do customise the blocklist error messages, but found that %0, %1 and %2 don't work. After some mucking around I found that {0}, {1} and {2} work instead.

Here's the Powershell command I used to add a custom error message for lookups done against the Spamhaus list:

Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $True -Enabled $True -RejectionResponse "{1} has blocked your IP address ({0}) using the list '{2}'. Please see http://www.spamhaus.org/query/bl?ip={0} for further information."