Question

Citrix Secure Gateway & WI - can't connect to citrix XenApp server.

Asked by: The_Waltzing_Shark

Hi
I have setup a secure Gateway 3.1 and WI 4.6 on the same box.  I followed Carl Websters and Patrick Rouses article's to virtually the letter using verisign cert.  

The only difference iare
XML port on port 8080
The Server is going to be internal not on the DMZ (don't ask)  Users will connect via VPN
The certifcate was also purchased as Servername NOT servername.domain.com

When testing internally I can enter the https:\\servername and I get the web interface to login to and see all the applications.  However when trying to launch an app I get the Error message
"cannot connect to the Citrix Xenapp server, could not find the specified xenapp server"

I have set the Web interface DMZ settings to gateway direct and entered FQDN and the gateway setting with port 443 and the sta settings with the data collecters name and the specified port such as denctx01.domain.com:8080

Everything on Web Interface looks correct.  I have tried connecting directly via WI by setting DMZ settings to Direct and it works fine however via CSG i get the error mentioned.

The ICA file shows the STA server

[Encoding]
InputEncoding=UTF8

[WFClient]
CPMAllowed=On
ClientName=WI_LI9Cx26TjjIFI_1A8
ProxyFavorIEConnectionSetting=Yes
ProxyTimeout=30000
ProxyType=Auto
ProxyUseFQDN=Off
RemoveICAFile=no
TransparentKeyPassthrough=Local
TransportReconnectEnabled=Off
VSLAllowed=On
Version=2
VirtualCOMPortEmulation=Off

[ApplicationServers]
Notepad=

[Notepad]
Address=;10;STA2C3B73E64FEF;08C8F72327A7183F58B8744DFEBC4664
AutologonAllowed=ON
BrowserProtocol=HTTPonTCP
ClearPassword=3C8100AC4CC760
ClientAudio=Off
DesiredColor=4
DesiredHRES=1024
DesiredVRES=768
DoNotUseDefaultCSL=On
Domain=\5A60660E822EFA29
HTTPBrowserAddress=!
InitialProgram=#Notepad
LPWD=203
Launcher=WI
LocHttpBrowserAddress=!
LogonTicket=3C8100AC4CC7605A60660E822EFA29
LogonTicketType=CTXS1
LongCommandLine=
NRWD=203
ProxyTimeout=30000
ProxyType=Auto
SSLCiphers=all
SSLEnable=On
SSLProxyHost=servername.domain:443
SecureChannelProtocol=Detect
SessionsharingKey=313639319
StartIFDCD=1241109397953
StartSCD=1241109397953
TRWD=0
TWIMode=On
TransportDriver=TCP/IP
UILocale=en
WinStationDriver=ICA 3.0

[Compress]
DriverNameWin16=pdcompw.dll
DriverNameWin32=pdcompn.dll

[EncRC5-0]
DriverNameWin16=pdc0w.dll
DriverNameWin32=pdc0n.dll

[EncRC5-128]
DriverNameWin16=pdc128w.dll
DriverNameWin32=pdc128n.dll

[EncRC5-40]
DriverNameWin16=pdc40w.dll
DriverNameWin32=pdc40n.dll

[EncRC5-56]
DriverNameWin16=pdc56w.dll
DriverNameWin32=pdc56n.dll


I am stuck now, I have been told the ports 1494, 8080 are open, session reliability is not used..
There are no errors in eventvwr on WI and I have run secure gateway diagnostics and that is fine also...

any ideas please, be much appreciated.  

thanks

Phil

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-30 at 11:01:04ID24370124
Topic

Citrix

Participating Experts
2
Points
125
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Citrix ICA Question
    We have been successful in connecting to the citrix servers via telnet. However when using the citrix client the following error presents itself: 'ICA browser failed to return any names. Server addresses may be entered in the server location list for this application set' S...
  2. Citrix WI not externally working
    I need some Citrix 101 assistance. I have a single Metaframe 4.0 server. Internal IP is : 192.168.101.3 External IP is: 66.x.x.x Everything works great internally, but through the web interface it does not. When I look at the content of the .ICA file I can see its poin...
  3. Citrix WI port issues
    I have a Snap Gear SG560 FIrewall. And a Citrix Server behind it. I also have a seperate SBS 2003 Server behind the FIrewall. I only have one Public IP Avlaiable. I have 80 and 443 already being forewarded through my firewall to the sbs server. Problem: I need to have...
  4. Do I need to use a VPN to use a Citrix ICA Client?
    I have users that have used a Citrix ICA client for years to access applications on out citrix server. I left our company for a year and the new guy is telling me that they need to use a VPN Client before they can use the Citrix ICA Client. I think that this is redundant an...
  5. Citrix warning message stating the Verisign Cert has expire…
    Hi, We have some users who log on to our systems via Citrix using Javaclient (which we have enabled on our secure gateway) as well as the ability to logon using citrix web client which most user opt not to use because using java is a lot easier and doesnt involve installing...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: pfcjokerPosted on 2009-04-30 at 12:10:38ID: 24273364

Cert has to match how you configure SG. In your case you should not be using FQDN anywhere due to the fact that you got a <servername> cert instead of <servername>.<domain> certificate.

The SG prevents man-in-the-middle attacks by validating the certificates configured - if it finds any mismatches or a cert it is not expecting it will deny the connection.

You will also likely see some SSL related errors in the eventlog that would point you to this issue.

 

by: BLipmanPosted on 2009-04-30 at 12:45:11ID: 24273673

Were you to reissue that certificate ever I would suggest considering the use of a true FQDN and not a NetBIOS host name; you may be confusing things when it resolves "servername" to "servername.mydomain.local" although I am not sure if Verisign (or any other CA for that matter) would issue a certificate in a domain for which you are not publicly authoritative.  If you have them coming in via a VPN why not use your own CA at that point?  Anyway, not necessary the issue at hand.  
Can you get this working from the CSG box itself?  You want to work OUT as you troubleshoot...you can test from the outside initially but if it fails I always suggest starting at the CSG, make sure you can connect to itself, and then work your way out to the client.  

Well, back to my first thought: "servername.domain:443" this does not match your certificate; again, I am not sure this is part of the issue but it may be a component.  Are you using the same DNS namespace internally as externally or do you have a .local or something internally?  
I find it odd Verisign issued you a cert with a common name like you are saying.  

 

by: The_Waltzing_SharkPosted on 2009-04-30 at 13:38:16ID: 24274193

pfcjoker - Thanks for answering, there are no error logs or ssl errors in the event log.  I had to put the servername.domain in the Gateway Settings of the WI as it won't allow anything else but a FQDN.  The Citrix Secure Gateway Diagnostics all passed the tests and looks fine.  I would of thought I would get a ssl error if there was any problems with the cert.

I will try from the CSG/WI server itself and see how I get on.  I didn't order the cert myself so will double check that.   I can connect internally from my Pc to the CSG using https:\\servername - this produces the WI pages and I can login no problems.  Its just launching the apps..

I try what you both suggested and report back, though it be tomorrow now, thanks for you time

 

by: BLipmanPosted on 2009-04-30 at 13:40:10ID: 24274207

Just an FYI, with CSG you should not need any other ports coming in through the FW except for 80 and 443 (80 is even optional).  All traffic should proxy though the gateway.  

 

by: The_Waltzing_SharkPosted on 2009-04-30 at 23:34:11ID: 24277026

I have logged onto CSG and tried to launch the app from there and you are bot correct with the certifcate mismatch.  I get SSL error 59.

I am in process of getting the cert reissued/new one.

We have the XML service running on port 8080, will this make any difference at all ??  

Thankyou for your help so far.  Something I wished I thought of myself..

I shall post back with the results.

 

by: BLipmanPosted on 2009-05-01 at 08:54:32ID: 24280667

I think you are on the right track, you have "denctx01.domain.com:8080", the :8080 is usually what gets people at that point.  

 

by: The_Waltzing_SharkPosted on 2009-05-05 at 04:46:33ID: 31576563

BLipman, works fine now with the new certificate.  
Many thanks for your help with this.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...