Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

I can't check for updates due to peer certificate authentication error

Solved by Karmalakas View solution

Started by Peter Simkovic 5 years ago · 6 replies · 2358 views
5 years ago

When I log in to my website Administration Panel, I get this error message:

Peer certificate cannot be authenticated with given CA certificates for "https://getgrav.org/blog.atom".

with invalid AJAX response therefore I cannot check for updates both Plug-ins and system.

5 years ago

Same here. Didn't even update Grav for a while now. It just started happening

5 years ago Solution

OK, so I talked to my sys admin and he confirmed that most have expired root certificates and he advised me to add peer SSL verification to false where request is initiated. So I remembered I saw something about that, but then found this old topic. Then I found this setting is in /config/system.yaml, so in Admin went to Configuration > System > Advanced and have set Remote Verify Peer (SSL) to No

Now it works as expected (Grav news, plugins updates)
I suppose until every website fixes root certificates, will have to live with this option off

👍 5
5 years ago

Thank you for your advice, it helps me to solve my problem.

5 years ago

Interestingly, while setting this option fixed the SLL errors I was receiving and allowed me to once again get downloads, my news section isn't updating. Everything in there still 7mo+ old.

3 years ago

Ive been trying for a day and a half to find why I cant connect to grav gpm etc via bash or through the localhost. Your answer finally solved my problem. The SSL warning notifications are therefore very important and this setting needs to be changed. THANKS!

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 51 8 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago