With help of inayathulla1, I created a policy in the SSL module that change the HTTP server's redirection to the HTTPS.
It works fine but, unfortunately when the packet comes to the browser it seems that SSLM module makes some modification in the Set-cookie field in the HTTP URL.
The original packet transmitted from the server has set-cookie value set to value JSESSIONID=25AF9A59D968276B879BA3C49E6663B9. When this packet comes to the browser it has the following cookie value SetCookieSESSIONID=25AF9A59D968276B879BA3C49E6663B9
Does anybody know what is the cause of this problem ?
Thanks in advance
I have already managed to solve the problem. I found that there were multiple entries in the url-rewrite policy, which overwrite each other, and when I deleted some of them the problem disappeared.