TLS/SSL connection publish error from maya

I’m getting a publishing error when attempting to publish from maya.

Initially the error was:

ShotgunPublishError: Unable to complete publishing because of the following error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

Then I ran:

$cert_url = “https://www.amazontrust.com/repository/SFSRootCAG2.cer
$cert_file = New-TemporaryFile
Invoke-WebRequest -Uri $cert_url -UseBasicParsing -OutFile $cert_file.FullName
Import-Certificate -FilePath $cert_file.FullName -CertStoreLocation Cert:\LocalMachine\Root

Now i’m getting this error:

ShotgunPublishError: Unable to complete publishing because of the following error: <urlopen error TLS/SSL connection has been closed (EOF) (_ssl.c:590)>,

Any idea what this is and how to get rid of it?