Last time i tried it, Let's Encrypt would not follow a redirect to an IP address. Oddly enough. You had to use a hostname.