SWG question - HTTPS (SHA-1) redirect to HTTP irule

Hi all,

Is there an iRule to redirect URL to http://www.xyz.com.au from https://www.xyz.com.au if the certificate is SHA-1 for a specific URL?

Thanks