Finally getting macOS reinstalled on this 2017 Goodwill iMac. Was running into errors in the recovery mode because Apple evidently didn’t renew HTTPS certificates for the server with OS images and I had to go into terminal to get it to go over HTTP. Very weird