<ruleset name="Canadian Security Intelligence Service">
    <target host="csis.gc.ca" />
    <target host="*.csis.gc.ca" />
    <target host="scrs.gc.ca" />
    <target host="*.scrs.gc.ca" />
    <target host="csis-scrs.gc.ca" />
    <target host="*.csis-scrs.gc.ca" />

    <rule from="^http://csis\.gc\.ca/"
        to="https://www.csis.gc.ca/" />
    <rule from="^http://([^/:@]+)?\.csis\.gc\.ca/"
        to="https://$1.csis.gc.ca/" />

    <!--
         2013-10-13: As of the time of writing, this domain has an invalid SSL
         cert, send users to the English domain-name (has exact same content).
    -->
    <rule from="^http://scrs\.gc\.ca/"
        to="https://www.csis.gc.ca/" />
    <rule from="^http://([^/:@]+)?\.scrs\.gc\.ca/"
        to="https://$1.csis.gc.ca/" />

    <!-- Same as above -->
    <rule from="^http://csis-scrs\.gc\.ca/"
        to="https://www.csis.gc.ca/" />
    <rule from="^http://([^/:@]+)?\.csis-scrs\.gc\.ca/"
        to="https://$1.csis.gc.ca/" />
</ruleset>
