Tried to use this for an internal, but it seems to fail when there is a self-signed cert. I will see what I can do in the source and make a PR if it makes sense. Thanks