Search code examples
iisreporting-services

SSRS HTTP reports URL redirect to HTTPS


I have been trying to redirect my SSRS's URL from HTTP URL to HTTPS. E.g(http://ServeName/Reports to https://ServeName/Reports).

Using this example, the IIS's URL rewrite's rule only redirect the ServerName http://ServerName to https://ServerName.

enter image description here

Reading through internet I have seen that SSRS's 80 -TCP port is not running on IIS.

Any configuration to edit?

BTW, I am using SSRS 2019 and IIS 10


Solution

  • I have solved this after changing some configurations.

    Reporting Services Configuration manager:

    Web Portal URL:

    1. Removing the access on port 80 for both web portal
    2. Add (All IPv4) and (All IPv6) for HTTPS port 443 on both web portal

    Note: After removing the access of port 80 you are allowing that port 443 will be handle by IIS. Because the port 80 is handle by SSRS's native mode.

    enter image description here

    On IIS:

    On the URL Rewrite's rule:

    1. Redirect URL: https://{HTTP_HOST}{REQUEST_URI} instead of https://{HTTP_HOST}/{R:1}
    2. Unchecked the Appended query string box. Note: By unchecking that box you are allowing to append everything after the /-mark. E.g. (https://Servername/.../...)

    enter image description here