TMG 2010 SP1: Cannot publish a website through TMG server when using any port except port 80

TMG 2010 SP1: Cannot publish a website through TMG server when using any port except port 80

  • Comments 2
  • Likes

Introduction

Cannot create a weblistener using any port other then 80 for non-ssl website publishing or trying to modify WebListener settings via UI for non-ssl website publishing. For example trying to use port 8080 on the listener as the port number in front of non-ssl connection option it gives an error:

image

Repro steps

  1. Create a weblistener for non ssl connection
  2. In weblistener properties, click on connection tab and change the port to 8080
  3. Will receive an error: “web listener is configured to use SSL, you must specify a certificate".

image

Workaround:

Run the script:

========================================

ListnerName= WScript.Arguments.Named("Listener")

ListnerPort= WScript.Arguments.Named("Port")

set curArray = CreateObject("FPC.Root").GetContainingArray()

set listener = curArray.RuleElements.WebListeners.Item(ListnerName)

listener.Properties.TCPPort = ListnerPort

listener.Save

=========================================

  1. Save it as SetListenerPort.vbs
  2. Run it from elevated command prompt
  3. SetListenerPort.vbs /Listener:<ListenerName> /Port:<PortNumber>
  4. Where <ListernerName> and <PortNumber> should be substituted to the actual parameters.
  5. Close and open tmg console. The port should be changed.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products

Author
Masoud Hoghooghi
Escalation Engineer
Microsoft CSS Forefront Security Edge Team

Technical Reviewer
Brennan Crowe
Support Escalation Engineer
Microsoft CSS Forefront Security Edge Team

Comments
  • What is the current release timeline for TMG SP1 Update 1?

  • Hi,

    Do you know when this was fixed? I've just hit this issue.

    Many thanks.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment