What date and time did you see the certificate error when searching for AIA data?
Did you eventually get the AIA data downloaded that you were looking for?
What version of Python & SunPy are you using?
The certificate verify error you saw has been fixed in all the gateway machines that I know of that SunPy queries are processed through. I will look through the log files for your query to determine which gateway your query was processed through to see if a gateway was missed.
I went through a small series of test for January 1. of all years since 2015 as well as some random dates in between. My search queries always looked like this:
result = Fido.search(a.Time(date + ’ 14:00:00’, date + ’ 16:00:00’),
a.Instrument.aia,
a.Sample(1*u.hour))