Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Hossam
New Contributor

http Redirct to https

Hi all

 

i need to create a policy to redirect all HTTP sessions to HTTPS and make every step come on the article https://docs.fortinet.com/document/fortigate/6.2.4/cookbook/304594/http-to-https-redirect-for-load-b...

 

but when i type the command *** set dstaddr "virtual-server-http" "virtual-server-https"***

i had this error

 

entry not found in datasource

value parse error before 'virtual-server-http'

Command fail. Return code -3

 

i have Fortigate 81E with v6.2.4 build1112 (GA) firmware

 

any ideas please

1 REPLY 1
JoelLberlin
New Contributor II

Hossam wrote:

Hi all

 

i need to create a policy to redirect all HTTP sessions to HTTPS and make every step come on the article.  https://docs.fortinet.com/document/fortigate/6.2.4/cookbook/304594/http-to-https-redirect-for-load-b...

 

but when i type the command *** set dstaddr. "virtual-server-http" "virtual-server-https"***

i had this error

 

entry not found in datasource

value parse error before 'virtual-server-http'

Command fail. Return code -3

 

i have Fortigate 81E with v6.2.4 build1112 (GA) firmware

 

any ideas please

You are trying to access the file whose dns connected with https but it's opening with http. so there side must be have secure layer first then you can access it and their data source also. 

 

 

estub coles
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors