ATTinyCore icon indicating copy to clipboard operation
ATTinyCore copied to clipboard

failed to verify certificate on https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2

Open ArminJo opened this issue 5 months ago • 3 comments

https://github.com/Arduino-IRremote/Arduino-IRremote/actions/runs/18346681983/job/52276218032?pr=1322

Update index and install the required board platform PLATFORM=ATTinyCore:avr arduino-cli core update-index --additional-urls http://drazzy.com/package_drazzy.com_index.json > /dev/null arduino-cli core install ATTinyCore:avr --additional-urls http://drazzy.com/package_drazzy.com_index.json > /dev/null Error during install: Get "https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-10-08T17:14:16Z is after 2025-10-06T21:37:48Z

ArminJo avatar Oct 08 '25 17:10 ArminJo

For any Arduino IDE 1.8.x users installing ATTinyCore on Linux via Boards Manager, here is a workaround, until the Letsencrypt certificate for azduino.com is renewed. It expired on October 6. If you download this file from the package_drazzy.com_index.json board file, and save it in ~/.arduino15/staging/packages/, the Arduino IDE still verifies the checksum from package_drazzy.com_index.json and you can then install ATTinyCore as normal. Some Arduino installations may have a diffent location for packages and will need to change the path ~/.arduino15 to a different location.

Her is a curl command for 64-bit Linux on x86_64 to download the package without verifing azduino.com certificate, and put it in the above mentioned path:

curl -kO --output-dir ~/.arduino15/staging/packages/ https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2

This should work similar with the versions for other Linux platforms, though, I haven't verified these packages with Arduino IDE:

For 32-bit Linux on i686:

curl -kO --output-dir ~/.arduino15/staging/packages/ https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-i686-linux-gnu.tar.bz2

For Linux on Arm:

curl -kO --output-dir ~/.arduino15/staging/packages/ https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-arm-linux-gnueabihf.tar.bz2

carlfj avatar Oct 09 '25 11:10 carlfj

Thanks for this @carlfj !

I'll just tack on for MacOS 64-bit Intel users, you could do

curl -kO --output-dir ~/Library/Arduino15/staging/packages https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-apple-darwin.tar.bz2

But hopefully they renew their HTTPS certificate soon!

partlyhuman avatar Oct 11 '25 22:10 partlyhuman

Seems the site is now completely down, so either the SSL cert is being resurrected, or it's disappearing for good. Might be a good idea to start thinking about a mirror tbh.

karalabe avatar Nov 06 '25 08:11 karalabe