Jump to content
Welcome to our new Citrix community!

NetScaler Monitor to Authenticate with a User Name and Password


Recommended Posts

Hi

I have tried to custom netscaler monitor for Microsoft CA by followiong this CTX:

https://support.citrix.com/article/CTX117142/how-to-configure-a-netscaler-monitor-to-authenticate-with-a-user-name-and-password

Curl command works using this comand:

curl -u "administrator:password" --ntlm http://192.168.40.10/cert

I am using TCP-ECV like this:

GET /certsrv HTTP/1.1rnAuthorization: Basic YWRtaW5pc3RyYXRvcjpQQHNzdzByZA==rnHost: 192.168.40.10rnrn

image.png.53f9ea4182d987b03ebd491f467933de.png

Link to comment
Share on other sites

Hello,

Please configure HTTP-ECV monitor instead of TCP-ECV. Also please provide

  1. snapshot of Send string and receive string configured
  2. Packet capture snippet highlighting response from server. Response from server should exactly match "receive string" configured.

Easier way will be to use HTTP monitor and configure custom header in it for Basic authentication

Link to comment
Share on other sites

Hi Hemang

Thanks for reply.

I configured other HTTP-ECV monitor, now I got "failure - pattern not found in response".

Below how i set up the monitor.

add lb monitor test_login_http-ecv HTTP-ECV -send "GET /certsrv HTTP/1.1rnAuthorization: Basic YWRtaW5pc3RyYXRvcjpQQHNzdzByZA==rnHost: 192.168.40.10rnrn" -recv Welcome -LRTM ENABLED

image.thumb.png.fcba69f9eba342e33ebdf2b8798620b1.pngHTML body:image.thumb.png.b3891667f13104b6a1ec36b46ef2ad29.png 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...