You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
by default if httpsredirecturl is not specified it uses vip i.e.:
show cs vserver test
test (5.6.7.8:443) - SSL Type: CONTENT
State: DOWN[Certkey/Certkeybundle not bound]
Last state change was at Thu May 23 10:52:24 2024
Time since last state change: 0 days, 00:00:03.420
Client Idle Timeout: 180 sec
Down state flush: ENABLED
Disable Primary Vserver On Down : DISABLED
Appflow logging: ENABLED
State Update: DISABLED
Default: Content Precedence: RULE
Vserver IP and Port insertion: OFF
L2Conn: OFF Case Sensitivity: ON
Authentication: OFF
401 Based Authentication: OFF
Push: DISABLED Push VServer:
Push Label Rule: none
HTTP Redirect Port: 80
HTTPS Redirect URL: https://5.6.7.8 Dtls : OFF
The problem is that often that hostname is not included in the accepted dns names, so the SSL negotiation fails.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
resource "citrixadc_csvserver" "tf_csvserver1" {
ipv46 = "10.10.10.22"
name = "tf_csvserver"
port = 443
servicetype = "SSL"
redirectfromport = 80
}
Steps to Reproduce
Create the cs vserver with redirectfromport parameter. The attempt to supply the httpsredirecturl gives the error:
│ Error: Unsupported argument
│
│ on resource.tf line 18, in resource "citrixadc_csvserver" "tf_csvserver1":
│ 18: httpsredirecturl = "https://test.domain.com/invalid_url"
│
│ An argument named "httpsredirecturl" is not expected here.
╵
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Terraform Core Version
1.8.3
citrixadc Provider Version
1.39.0
Operating system
Ubuntu 22.04.4 LTS
Affected Resource(s)
https://github.com/citrix/terraform-provider-citrixadc/blob/master/docs/resources/csvserver.md - httpsredirecturl parameter missing
Equivalent NetScaler CLI Command
add cs vserver test ssl 1.2.3.4 443 -redirectfromport 80 -httpsRedirectUrl https://test.mydomain.com/defaultpage
Expected Behavior
We should be able to add the httpsRedirectUrl as described in the manual and nitro reference: https://developer-docs.netscaler.com/en-us/adc-nitro-api/13-1/configuration/cs/csvserver.html
Actual Behavior
by default if httpsredirecturl is not specified it uses vip i.e.:
The problem is that often that hostname is not included in the accepted dns names, so the SSL negotiation fails.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
resource "citrixadc_csvserver" "tf_csvserver1" {
ipv46 = "10.10.10.22"
name = "tf_csvserver"
port = 443
servicetype = "SSL"
redirectfromport = 80
}
Steps to Reproduce
Create the cs vserver with redirectfromport parameter. The attempt to supply the httpsredirecturl gives the error:
│ Error: Unsupported argument
│
│ on resource.tf line 18, in resource "citrixadc_csvserver" "tf_csvserver1":
│ 18: httpsredirecturl = "https://test.domain.com/invalid_url"
│
│ An argument named "httpsredirecturl" is not expected here.
╵
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: