Sunposa.php not getting jpmoon.png (RESOLVED)

I noticed that recently my moon phase was missing from my astronomy page. I checked the sunposa.php file and found where the image is acquired. I went to the site, http://tycho.usno.navy.mil/cgi-bin/phase.gif, and I get a certificate error. Is this why I’m not getting the moon image? Thanks.
jim

http://www.jolietwx.com/wxastronomy.php

7-10-19
I’ve tried changing this line of text in Sunposa:
maketransparent(“https://tycho.usno.navy.mil/cgi-bin/phase.gif","jpmoon.png”,50,50);
with this line:
maketransparent(“http://api.usno.navy.mil/imagery/moon.png","jpmoon.png”,50,50);

The second line will return the moon.png if entered in the URL, but I’m still not getting a correct jpmoon.png

I’m not sure how to fix this but I have the same issue.

So was this problem ever fixed?