PowerShell / PowerShellGallery

221 stars 61 forks source link

Certificate expired #157

Closed ghost closed 3 years ago

ghost commented 3 years ago

It seems that the certificate for powershell gallery (https://www.powershellgallery.com/) has expired. I can't seem to download any modules from the gallery now.

Zian commented 3 years ago

Same here; IE11 says the certificate was valid to "‎Monday, ‎March ‎22, ‎2021 7:28:06 PM". It's 7:45 PM now in Redmond, Washington.

gfree76 commented 3 years ago

This is a pretty big deal, it's breaking build pipelines that rely on powershell modules

alerickson commented 3 years ago

Hi all, we're working on this right now. It looks like the cert got renewed but the thumbprint didn't update. Currently in the process of making the changes to update to the new thumbprint

ganeshnj commented 3 years ago

It is blocking us (AWS) to release new version of PowerShell Tools.

kenwarner commented 3 years ago

I am literally trying to install AWS PowerShell tools but can't because of this issue 😂

jshield commented 3 years ago

@alerickson did your update thumbprint pipeline depend on powershell gallery?

inammathe commented 3 years ago

Not a solution but a dodgy workaround...

add-type @"
    using System.Net;
    using System.Security.Cryptography.X509Certificates;
    public class TrustAllCertsPolicy : ICertificatePolicy {
        public bool CheckValidationResult(
            ServicePoint srvPoint, X509Certificate certificate,
            WebRequest request, int certificateProblem) {
            return true;
        }
    }
"@
[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
alerickson commented 3 years ago

@jshield fortunately no! A deployment is underway and this issue should be resolved in half an hour.

nexxai commented 3 years ago

@alerickson Can you explain how your internal monitors didn't pick up a huge drop in traffic when it expired?

kasini3000 commented 3 years ago

156

theAeon commented 3 years ago

156

good lord

alerickson commented 3 years ago

This issue is resolved now.

alerickson commented 3 years ago

@theAeon @kasini3000 as I mentioned, the cert was renewed but the thumbprint unfortunately didn't updated.

theAeon commented 3 years ago

@theAeon @kasini3000 as I mentioned, the cert was renewed but the thumbprint unfortunately didn't updated.

You're fine. Just kinda funny.

Not working on my end just yet. (Eastern Daylight Time, for context) image

inammathe commented 3 years ago

Is working now over here in notsosunny Australia Brisbane.

theAeon commented 3 years ago

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand its set. Weird.

ganeshnj commented 3 years ago

Verified, API endpoints are also working. @alerickson thanks for quick turnaround.

jay-kim-kor commented 3 years ago

@theAeon I have same issued before. Just close PowerShell terminal and re-open then is working now. can you re-open terminal?

theAeon commented 3 years ago

@dev4jaehunkim Its set. Must have been some weird caching stuff going on with the chicago CDN.

moria97 commented 3 years ago

It works. Thanks

aapi-rp commented 3 years ago

This happened again, its expired right now? Can this be reopened?

pcone commented 3 years ago

@aapi-rp There's a new issue here: https://github.com/PowerShell/PowerShellGallery/issues/166

However I agree - this one should just be reopened - manually dealing with whatever issue popped up last time wasn't really a fix, this should be automated (unless it was and this new issue has a different root cause?).

Sunitakumari commented 2 years ago

We are experiencing same issue again. Powershell galary is not reachable. Can we reopen this issue?