I have the following code in my website:
Wh
This will only work from an HTTP or HTTPS site with a Valid and trusted security certificate.
If there's a certificate error, iOS will not load the image. Temporarily trusting the certificate in Safari for the page will not trust the certificate for the homescreen shortcut. If you are using a self-signed certificate, you must add the untrusted root certificate as a trusted certificate at the OS level.
Try using a relative URL:
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
It should go to your base directory and find the icon in /images
.