Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 12:38 am

Just try to updates my extensions on Mamp Pro 6.5 and I get theses errors when clearing the cache & clicking ªFind Updates”.
Could not open update sites.jpg

— If I click ªFind Updates” just after the errors ( Without clearing the cache) No errors?

• Happen on all my local websites — Doesn’t happen on live clones...

Not sure?

What is weird is that I know that Joomla connect correctly with all these adresses (Using Cyberduck)...
You do not have the required permissions to view the files attached to this post.
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30305
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Per Yngve Berg » Sat Oct 02, 2021 7:06 am

All the listed sites are https. It can be a SSL and certificate issue.

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 1:41 pm

Thanks Per Yngve Berg
For now the url are http. I see the same answer on other post. I just update to Mamp 6.5.
I will try to pass to https (never did before) and see how it work.

My live test environment with clones of the websites I test locally are not SSL and update without any warnings...
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 9:19 pm

I quote myself...
Chacapamac wrote:
Sat Oct 02, 2021 1:41 pm
My live test environment with clones of the websites I test locally are not SSL and update without any warnings...
I work forever with Mamp, not using SSL & Joomla always update without problems also, Clones of the websites I test locally update without warnings on my live test server, without SSL.

The problem is the server, obviously.
— I switch to Mamp 6.5 lately. Curl is open and working, I’m trying other things...
— I close my Mac Firewall and Little Snitch — No success
Last edited by Chacapamac on Sat Oct 02, 2021 9:26 pm, edited 1 time in total.
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sat Oct 02, 2021 9:46 pm

It appears that modifying a single Joomla file (/libraries/src/Http/Transport/cacert.pem) solve the problem. I tested on 2 sites and it works well, I found back a normal behavior and I coul update my extensions.

Solution consists in removing the DST Root CA X3 certificate from the cacert.pem file (obiously, make a backup of the file before).

Probably this "hack" will not be necessary any more in a few days and probably we could use it only during the time we need to update extensions.
Last edited by tourderein on Sat Oct 02, 2021 10:07 pm, edited 1 time in total.

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sat Oct 02, 2021 9:48 pm

Works fine with MAMP PRO (6.5 with SSL) and on live sites

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 10:26 pm

tourderein wrote:
Sat Oct 02, 2021 9:48 pm
Works fine with MAMP PRO (6.5 with SSL) and on live sites
I can confirm “tourderein”, it work????

Thank you, tourderein

How to:
1• Make a backup of Joomla root/libraries/src/Http/Transport/cacert.pem
2. Add .txt at the end of the file name, like this —>cacert.pem.txt
3. Open in TexEdit, remove the part for the DST Root CA X3 certificate, save and replace
— The code Look like this;
certi.jpg
I also put the original and modified files in zip (Just rename) for the people that don’t want to mess with the file
cacert.pem—ORIGINAL.txt.zip
cacert.pem-MODIFIED.zip
————————————————————————————————
Also cacert.pem is exactly the same for any site under Joomla 3.9.28 — I just check
————————————————————————————————

Can anybody explain the problem?
You do not have the required permissions to view the files attached to this post.
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sat Oct 02, 2021 10:36 pm

Related to this : https://letsencrypt.org/docs/dst-root-c ... mber-2021/

This guy did some tests with different server configurations under Unix:
https://medium.com/geekculture/will-you ... 4a018df257
For me, it's written in Kryptonian! But it puts me on the right path.

"The test confirms if the client-side could be tuned to remove the expired DST X3 root certificate, it would work with “new default chain” certificate…"

With the removal of the outdated certificate, it seems that servers are forced to use the "new SSL protocol"
Last edited by tourderein on Sat Oct 02, 2021 10:42 pm, edited 1 time in total.

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sat Oct 02, 2021 10:39 pm

Perhaps it's best to use cacert.pem from Joomla 3.10.2?

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 10:40 pm

Probably already change in Joomla 3.10/4 ?
For now, I’m staying on 3.9.28 as I see some incompatibility with 3.10...
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 10:41 pm

tourderein wrote:
Sat Oct 02, 2021 10:39 pm
Perhaps it's best to use cacert.pem from Joomla 3.10.2?
Didn’t try that, make complete sens. :D
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sat Oct 02, 2021 10:43 pm

Per Yngve Berg wrote:
Sat Oct 02, 2021 7:06 am
All the listed sites are https. It can be a SSL and certificate issue.
It was a certificate Issue...
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sat Oct 02, 2021 10:44 pm

Chacapamac wrote:
Sat Oct 02, 2021 10:40 pm
Probably already change in Joomla 3.10/4 ?
For now, I’m staying on 3.9.28 as I see some incompatibility with 3.10...
I have to modify the cacert.pem file on Joomla 3.10.2

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by sozzled » Sat Oct 02, 2021 10:48 pm

There seem to be a few "certificate" problems lately.

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sun Oct 03, 2021 1:18 pm

I joined the Joomla community over 13 years ago, and I continue to be impressed with the support provided by this forum. I have worked with several other CMSs, and the experience is nowhere near the calibre of Joomla. There is something special about this CMS and the people it unites.

Thanks, Everybody!
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sun Oct 03, 2021 3:00 pm

Just have a question.
Does anybody know why it is working on a live website but not on Mamp??
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/

tourderein
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Oct 31, 2008 11:20 am

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by tourderein » Sun Oct 03, 2021 4:24 pm

Chacapamac wrote:
Sun Oct 03, 2021 3:00 pm
Just have a question.
Does anybody know why it is working on a live website but not on Mamp??
This works on my MAMP PRO 6.5 installation, in SSL, but only if I use the cacert.pem file of Joomla 10.x.

So, for example, with a good old Joomla 3.9.25 site, I have to replace the cacert.pem file of this site by the modified one of a Joomla 10.1 or 10.2 installation.

All servers are not equal in front of this problem, either on the client side (your site, because of the version of the cacert.pem file and because of the configuration of the server itself) or on the extensions update distribution side (for a reason I don't know — servers SSL config ? —, no problem with some extensions, and problem with others).

I had the problem at a hosting company (Joomla 3.9.25 to 3.10.2), on all my sites with them, and with MAMP PRO (Joomla 3.9.25 to 3.10.2). And no problem with another host (Joomla 3.10.2) without having to modify anything.

User avatar
Chacapamac
Joomla! Ace
Joomla! Ace
Posts: 1080
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Re: Problem updating extensions with Mamp Pro 6.5, all show “Could not open update site...?

Post by Chacapamac » Sun Oct 03, 2021 4:33 pm

tourderein
This works on my MAMP PRO 6.5 installation, in SSL, but only if I use the cacert.pem file of Joomla 10.x.
Just for infos
Taking out the DST Root CA X3 certificate in the original cacert.pem file of my Joomla 3.9.28 work perfectly on non-SSL websites in Mamp 6.5

Seem to work on SSL and non-SSL host
Can God help us?
Marketing, SEO, Web development - Powered by Joomla!
http://www.grafcomm.ca/


Locked

Return to “General Questions/New to Joomla! 3.x”